more horizontal refactoring
[swftools.git] / lib / python / action.h
index e77dfac..22637a9 100644 (file)
@@ -1,4 +1,4 @@
-/* action.c
+/* action.h
 
    Python wrapper for librfxswf- actionscript stuff (header)
 
 #ifndef __action_h__
 #define __action_h__
 
-#include "../rfxswf.h"
-#undef HAVE_STAT
 #include <Python.h>
+#undef HAVE_STAT
+#include "../rfxswf.h"
 
 extern PyTypeObject ActionClass;
-
-typedef struct {
-    PyObject_HEAD
-    ActionTAG*action;
-} ActionObject;
-
 PyObject* f_Action(PyObject* self, PyObject* args, PyObject* kwargs);
+ActionTAG* action_getAction(PyObject* self);
+
+PyMethodDef* action_getMethods();
 #endif