diff options
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index e3a754baa3..b57ad28ce6 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -52,13 +52,20 @@ PHP_RSHUTDOWN_FUNCTION(simplexml); PHP_MINFO_FUNCTION(simplexml); typedef struct { + void *ptr; + int refcount; +} simplexml_ref_obj; + +typedef struct { zend_object zo; - xmlDocPtr document; + xmlHashTablePtr nsmap; + simplexml_ref_obj *document; xmlXPathContextPtr xpath; xmlNodePtr node; } php_sxe_object; + #ifdef ZTS #define SIMPLEXML_G(v) TSRMG(simplexml_globals_id, zend_simplexml_globals *, v) #else |