X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Fpython%2Fpyutils.h;fp=lib%2Fpython%2Fpyutils.h;h=3c749bd5ef7c7550ff0607b3be645b8c52cc155b;hb=49062bcde61a1622b6e5605097beff11916cd07e;hp=0000000000000000000000000000000000000000;hpb=e2c2e5e8d8216974b367f983f4fd5b1aa94eb54b;p=swftools.git diff --git a/lib/python/pyutils.h b/lib/python/pyutils.h new file mode 100644 index 0000000..3c749bd --- /dev/null +++ b/lib/python/pyutils.h @@ -0,0 +1,11 @@ +#ifndef __pyutil_h__ +#define __pyutil_h__ +#include + +#define PY_NONE Py_BuildValue("s", 0) + +char* setError(char*format, ...); +void mylog(char*format, ...); +PyObject* FindMethodMore(PyObject*ret, PyMethodDef f[], PyObject*self, char* a); +void dummy_dealloc(PyObject* self); +#endif