diff options
author | Ran Benita <ran234@gmail.com> | 2014-01-13 17:07:41 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-01-13 17:22:02 +0200 |
commit | 7210497c634c8a6a380bba6db934e3ac0d1d98d8 (patch) | |
tree | 57f45383751d23d51583bf8204221d751676c62c /src/keymap.h | |
parent | 4884a8e636cede13c7598fe49d1fc35d22f78f14 (diff) | |
download | libxkbcommon-7210497c634c8a6a380bba6db934e3ac0d1d98d8.tar.gz libxkbcommon-7210497c634c8a6a380bba6db934e3ac0d1d98d8.tar.bz2 libxkbcommon-7210497c634c8a6a380bba6db934e3ac0d1d98d8.zip |
keymap: split private functions to keymap-priv.c
This makes it easier to share the private functions in other DSOs
without relying (too much) on dead code elimination, exported symbols,
etc.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keymap.h')
-rw-r--r-- | src/keymap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keymap.h b/src/keymap.h index 80522e8..5f514ec 100644 --- a/src/keymap.h +++ b/src/keymap.h @@ -412,6 +412,11 @@ XkbKeyGroupWidth(const struct xkb_key *key, xkb_layout_index_t layout) return key->groups[layout].type->num_levels; } +struct xkb_keymap * +xkb_keymap_new(struct xkb_context *ctx, + enum xkb_keymap_format format, + enum xkb_keymap_compile_flags flags); + struct xkb_key * XkbKeyByName(struct xkb_keymap *keymap, xkb_atom_t name, bool use_aliases); |