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_en.h | |
parent | 7a3fcd9d332f1f2e3e6f021b2930e148ca093c91 (diff) | |
download | evspy-55a2212feb5042e65fbf0ed8891c0cab55479621.tar.gz |
Renamed map ADT to kmap
Diffstat (limited to 'maps/map_en.h')
-rw-r--r-- | maps/map_en.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/maps/map_en.h b/maps/map_en.h index 93b9db7..56fd895 100644 --- a/maps/map_en.h +++ b/maps/map_en.h @@ -8,13 +8,13 @@ // 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_3, "#"); @@ -41,7 +41,7 @@ static void init_shiftmap(void) static inline void exit_shiftmap(void) { - khm_destroy(shm); + kmap_destroy(skm); } static char map[] = { |