From 65909e73762279ae3a66b71a2cfcce7746cd3dfe Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 22 May 2004 00:04:29 +0000 Subject: [PATCH] added getattr, setattr fields. --- lib/python/tag.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/python/tag.h b/lib/python/tag.h index 4013038..98f8b82 100644 --- a/lib/python/tag.h +++ b/lib/python/tag.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; -- 1.7.10.4