]> git.alsa-project.org Git - alsa-gobject.git/commit
utils: add utility to compute integer value from string literal
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 2 Apr 2022 01:46:22 +0000 (10:46 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Sat, 2 Apr 2022 13:19:28 +0000 (22:19 +0900)
commitcc92f5ca9478b0785d8286affb7d367eaec2fe94
treef70bc31cae268283a1122983bcdba6afc0f1dc01
parentffc81ca2797e07988a50f620be8a688b7ca046f3
utils: add utility to compute integer value from string literal

The conversion between string literal and integer is required in some
includes libraries.

This commit adds utility for it.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/ctl/query.c
src/hwdep/query.c
src/rawmidi/query.c
src/timer/query.c
src/utils/meson.build
src/utils/string.c [new file with mode: 0644]
src/utils/utils.h