diff options
Diffstat (limited to 'src/dict.h')
-rw-r--r-- | src/dict.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/dict.h b/src/dict.h new file mode 100644 index 0000000..844963c --- /dev/null +++ b/src/dict.h @@ -0,0 +1,14 @@ +#ifndef DICT_H +#define DICT_H + +#include <Python.h> + +typedef struct Dict Dict; + +Dict* dictCreate(); +//char* tableFind(Dict *table, char* key); +void dictFree(Dict *t, int); +void dictInsert(Dict* list, const char* key, const char* value); +unsigned int dictCount(Dict *table); +PyObject* dictToPyDict(Dict *dict); +#endif |