31 |
31 |
32 CxMap *test_map_generics_step_1(CxAllocator const * allocator) { |
32 CxMap *test_map_generics_step_1(CxAllocator const * allocator) { |
33 CxMap *map = cxHashMapCreate(allocator, sizeof(cxstring), 0); |
33 CxMap *map = cxHashMapCreate(allocator, sizeof(cxstring), 0); |
34 |
34 |
35 cxMapPut(map, "test", "test"); |
35 cxMapPut(map, "test", "test"); |
36 cxMapPut(map, CX_STR("foo"), "bar"); |
36 cxMapPut(map, cx_mutstr("foo"), "bar"); |
37 cxMapPut(map, cx_str("hallo"), "welt"); |
37 cxMapPut(map, cx_str("hallo"), "welt"); |
38 |
38 |
39 return map; |
39 return map; |
40 } |
40 } |
41 |
41 |