From 86e9acc7a7b714307e08ab25117ca03cecb00936 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 9 Oct 2014 13:44:26 +0000 Subject: throw away the long obsolete runtime type information in the C runtime --- src/runtime/c/gu/map.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/runtime/c/gu/map.c') diff --git a/src/runtime/c/gu/map.c b/src/runtime/c/gu/map.c index f01b0943a..d6b8a0c72 100644 --- a/src/runtime/c/gu/map.c +++ b/src/runtime/c/gu/map.c @@ -1,6 +1,5 @@ #include #include -#include #include #include #include @@ -432,19 +431,3 @@ gu_make_map(size_t key_size, GuHasher* hasher, return map; } -GuMap* -gu_map_type_make(GuMapType* mtype, GuPool* pool) -{ - size_t key_size = 0; - if (mtype->hasher && mtype->hasher != gu_addr_hasher) { - key_size = gu_type_size(mtype->key_type); - } - size_t value_size = gu_type_size(mtype->value_type); - return gu_make_map(key_size, mtype->hasher, - value_size, mtype->default_value, pool); -} - -GU_DEFINE_KIND(GuMap, abstract); -// GU_DEFINE_KIND(GuIntMap, GuMap); - - -- cgit v1.2.3