libxkbcommon/xkbcommon
Ran Benita 06d7803a6d state: fix mod_names_are_active
This function was always returning -1.
Adding a test, we see that test/state.c treat the is_active functions as
returning booleans, which would treat -1 as success, so we test for > 0
instead (most users would probably get this wrong as well...).
Also update the documentation for the are_active functions, and add a
ATTR_NULL_SENTINEL for gcc __attribute__((sentinel)).

Signed-off-by: Ran Benita <ran234@gmail.com>
2012-09-02 19:17:09 +03:00
..
xkbcommon-keysyms.h build: drop the include/ directory 2012-07-23 00:45:34 +03:00
xkbcommon-names.h Use only one set of core mod name-to-index functions 2012-08-07 11:09:42 +03:00
xkbcommon.h state: fix mod_names_are_active 2012-09-02 19:17:09 +03:00