python interface to rfxswflib - initial draft.
[swftools.git] / lib / python / pyutils.h
diff --git a/lib/python/pyutils.h b/lib/python/pyutils.h
new file mode 100644 (file)
index 0000000..3c749bd
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef __pyutil_h__
+#define __pyutil_h__
+#include <Python.h>
+
+#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