summaryrefslogtreecommitdiffstats
path: root/src/dict.h
blob: 47dd957715a1b887141d450a06bdd493f28def06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
void		dictInsert(Dict* list, const char* key, const char* value);
unsigned int	dictCount(Dict *table);
PyObject*	dictToPyDict(Dict *dict);
#endif