]> 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)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 2 Apr 2022 01:46:22 +0000 (10:46 +0900)
commit0741615b4fddb0aadf96a5e969a7e38265b59530
treef70bc31cae268283a1122983bcdba6afc0f1dc01
parent03054c5ac6f9ce646d69054e8e926a05d1de1b67
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