floooh / sokol

minimal cross-platform standalone C headers
https://floooh.github.io/sokol-html5
zlib License
6.94k stars 488 forks source link

sokol_args.h: support key-only args #896

Closed floooh closed 1 year ago

floooh commented 1 year ago

See #876.

Key-only args have an empty string as value, and can be checked with sargs_exists() or sargs_boolean().