more fiddling with edgestyles
[swftools.git] / lib / python / tag.h
index 7ee0338..98f8b82 100644 (file)
@@ -23,8 +23,8 @@
 #ifndef __tag_h__
 #define __tag_h__
 
-#undef HAVE_STAT
 #include <Python.h>
+#undef HAVE_STAT
 #include "../rfxswf.h"
 
 #include "tagmap.h"
@@ -36,6 +36,8 @@ typedef struct _tag_internals
     void (*dealloc)(struct _tag_internals*);
     int datasize;
     void*data;
+    PyObject* (*getattr)(struct _tag_internals*, char* a);
+    int (*setattr)(struct _tag_internals*, char* a, PyObject*val);
     PyMethodDef* tagfunctions;
     TAG*tag;
     PyObject* tagmap;