git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test importing a builtin type, too
[swftools.git]
/
lib
/
python
/
action.h
diff --git
a/lib/python/action.h
b/lib/python/action.h
index
e77dfac
..
22637a9
100644
(file)
--- a/
lib/python/action.h
+++ b/
lib/python/action.h
@@
-1,4
+1,4
@@
-/* action.c
+/* action.h
Python wrapper for librfxswf- actionscript stuff (header)
Python wrapper for librfxswf- actionscript stuff (header)
@@
-23,16
+23,13
@@
#ifndef __action_h__
#define __action_h__
#ifndef __action_h__
#define __action_h__
-#include "../rfxswf.h"
-#undef HAVE_STAT
#include <Python.h>
#include <Python.h>
+#undef HAVE_STAT
+#include "../rfxswf.h"
extern PyTypeObject ActionClass;
extern PyTypeObject ActionClass;
-
-typedef struct {
- PyObject_HEAD
- ActionTAG*action;
-} ActionObject;
-
PyObject* f_Action(PyObject* self, PyObject* args, PyObject* kwargs);
PyObject* f_Action(PyObject* self, PyObject* args, PyObject* kwargs);
+ActionTAG* action_getAction(PyObject* self);
+
+PyMethodDef* action_getMethods();
#endif
#endif