forked from ground/ground
added hashmaps and fixed some small issues with lists
This commit is contained in:
16
libs/collections/hashmap.h
Normal file
16
libs/collections/hashmap.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef HASHMAP_H
|
||||
#define HASHMAP_H
|
||||
|
||||
#include <groundext.h>
|
||||
#include <groundvm.h>
|
||||
#include <uthash.h>
|
||||
|
||||
typedef struct {
|
||||
GroundValue value;
|
||||
char* key;
|
||||
UT_hash_handle hh;
|
||||
} HashmapItem;
|
||||
|
||||
GroundValue createHashmapStruct();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user