diff options
Diffstat (limited to 'src/xmlpythonizer.h')
-rw-r--r-- | src/xmlpythonizer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xmlpythonizer.h b/src/xmlpythonizer.h index 2c89390..8572403 100644 --- a/src/xmlpythonizer.h +++ b/src/xmlpythonizer.h @@ -46,8 +46,10 @@ typedef struct ptzMAP_s { } ptzMAP; - ptzMAP *dmiMAP_ParseMappingXML(xmlDoc *xmlmap, const char *mapname); +#define ptzmap_Free(ptr) { ptzmap_Free_func(ptr); ptr = NULL; } +void ptzmap_Free_func(ptzMAP *ptr); + PyObject *pythonizeXMLdoc(ptzMAP *map, xmlDoc *xmldoc); PyObject *pythonizeXMLnode(ptzMAP *map, xmlNode *nodes); |