diff options
author | Guillermo Ramos | 2011-09-24 18:13:15 +0200 |
---|---|---|
committer | Guillermo Ramos | 2011-09-24 18:13:15 +0200 |
commit | 55a2212feb5042e65fbf0ed8891c0cab55479621 (patch) | |
tree | 66bb8c7c10305b11d445a4672779f9c7824fbf07 /maps/map_es.h | |
parent | 7a3fcd9d332f1f2e3e6f021b2930e148ca093c91 (diff) | |
download | evspy-55a2212feb5042e65fbf0ed8891c0cab55479621.tar.gz |
Renamed map ADT to kmap
Diffstat (limited to 'maps/map_es.h')
-rw-r--r-- | maps/map_es.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/maps/map_es.h b/maps/map_es.h index 1b0946f..b20f120 100644 --- a/maps/map_es.h +++ b/maps/map_es.h @@ -9,13 +9,13 @@ // Right Alt (ALTGR) map #define EVS_ALTGR_ENABLED -#define EVS_ALTGR_BIND(KEY, VALUE) khm_insert(ahm, (KEY), (VALUE)) +#define EVS_ALTGR_BIND(KEY, VALUE) kmap_insert(akm, (KEY), (VALUE)) -static struct khashmap *ahm; +static struct kmap *akm; static void init_altgrmap(void) { - ahm = khm_create(); + akm = kmap_create(); EVS_ALTGR_BIND(KEY_1, "|"); EVS_ALTGR_BIND(KEY_2, "@"); EVS_ALTGR_BIND(KEY_3, "#"); @@ -41,17 +41,17 @@ static void init_altgrmap(void) static inline void exit_altgrmap(void) { - khm_destroy(ahm); + kmap_destroy(akm); } // Shift map -#define EVS_SHIFT_BIND(KEY, VALUE) khm_insert(shm, (KEY), (VALUE)) +#define EVS_SHIFT_BIND(KEY, VALUE) kmap_insert(skm, (KEY), (VALUE)) -static struct khashmap *shm; +static struct kmap *skm; static void init_shiftmap(void) { - shm = khm_create(); + skm = kmap_create(); EVS_SHIFT_BIND(KEY_1, "!"); EVS_SHIFT_BIND(KEY_2, "\""); EVS_SHIFT_BIND(KEY_4, "$"); @@ -75,7 +75,7 @@ static void init_shiftmap(void) static inline void exit_shiftmap(void) { - khm_destroy(shm); + kmap_destroy(skm); } static char map[] = { |