diff options
Diffstat (limited to 'c-layman/src/internal.h')
-rw-r--r-- | c-layman/src/internal.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/c-layman/src/internal.h b/c-layman/src/internal.h new file mode 100644 index 0000000..5d05d09 --- /dev/null +++ b/c-layman/src/internal.h @@ -0,0 +1,21 @@ +#ifndef INTERNAL_H +#define INTERNAL_H + +#include <Python.h> +#include "stringlist.h" +#include "dict.h" +#include "config.h" +#include "message.h" + +PyObject* executeFunction(const char *module, const char *funcName, const char* format, ...); + +PyObject* _bareConfigObject(BareConfig*); + +PyObject* _messageObject(Message* m); + +StringList* listToCList(PyObject* list); +PyObject* cListToPyList(StringList*); + +PyObject* dictToPyDict(Dict *dict); + +#endif |