summaryrefslogtreecommitdiff
path: root/src/keymap.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-04-22 11:33:47 +0300
committerRan Benita <ran234@gmail.com>2014-04-22 14:56:01 +0300
commit0f6bca2b37cb67e9a76acd1c3117e19fb0a115df (patch)
treefb95f4b60d33ef16431b90d698e0150808506994 /src/keymap.h
parent9b1a68eca92cf964bbfbbe5bf9ee9c5ef2496c8f (diff)
downloadlibxkbcommon-0f6bca2b37cb67e9a76acd1c3117e19fb0a115df.tar.gz
libxkbcommon-0f6bca2b37cb67e9a76acd1c3117e19fb0a115df.tar.bz2
libxkbcommon-0f6bca2b37cb67e9a76acd1c3117e19fb0a115df.zip
keymap: rename xkb_foreach_key to xkb_keys_foreach
We'll use the format xkb_foos_foreach and xkb_foos_enumerate for the various iterators. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.h b/src/keymap.h
index dd6bde6..ae86f6b 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -397,7 +397,7 @@ struct xkb_keymap {
char *compat_section_name;
};
-#define xkb_foreach_key(iter, keymap) \
+#define xkb_keys_foreach(iter, keymap) \
for ((iter) = (keymap)->keys + (keymap)->min_key_code; \
(iter) <= (keymap)->keys + (keymap)->max_key_code; \
(iter)++)