X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpython%2Ftag.h;h=98f8b82a9074b0192d0609ca0760ed703da00675;hb=bdad407fb79c2f7be9f3603694ebdeadc645b52d;hp=7ee033851be56e49e5582c68b0c52513b68d5664;hpb=3477d799207e51e1cde8d1d8792ae838cc1f2835;p=swftools.git diff --git a/lib/python/tag.h b/lib/python/tag.h index 7ee0338..98f8b82 100644 --- a/lib/python/tag.h +++ b/lib/python/tag.h @@ -23,8 +23,8 @@ #ifndef __tag_h__ #define __tag_h__ -#undef HAVE_STAT #include +#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;