git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added class members, expression lefthands
[swftools.git]
/
lib
/
python
/
tag.h
diff --git
a/lib/python/tag.h
b/lib/python/tag.h
index
7ee0338
..
98f8b82
100644
(file)
--- a/
lib/python/tag.h
+++ b/
lib/python/tag.h
@@
-23,8
+23,8
@@
#ifndef __tag_h__
#define __tag_h__
#ifndef __tag_h__
#define __tag_h__
-#undef HAVE_STAT
#include <Python.h>
#include <Python.h>
+#undef HAVE_STAT
#include "../rfxswf.h"
#include "tagmap.h"
#include "../rfxswf.h"
#include "tagmap.h"
@@
-36,6
+36,8
@@
typedef struct _tag_internals
void (*dealloc)(struct _tag_internals*);
int datasize;
void*data;
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;
PyMethodDef* tagfunctions;
TAG*tag;
PyObject* tagmap;