diff options
author | Rob Richards <rrichards@php.net> | 2003-06-14 15:32:23 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2003-06-14 15:32:23 +0000 |
commit | 09eb38ec10d8393e583565ce7c193bf79b4491a8 (patch) | |
tree | efc7012cebf3242b9275e6809965ffc4855169e4 /ext/simplexml/php_simplexml.h | |
parent | 14fad0e5d8b54c1836e4469100bd0f0f16b85fcd (diff) | |
download | php-git-09eb38ec10d8393e583565ce7c193bf79b4491a8.tar.gz |
interoperability support
fix some memleak scenarios
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index b57ad28ce6..233452dafa 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -26,8 +26,10 @@ extern zend_module_entry simplexml_module_entry; #ifdef PHP_WIN32 #define PHP_SIMPLEXML_API __declspec(dllexport) +#define SIMPLEXML_IMPORT __declspec(dllimport) #else #define PHP_SIMPLEXML_API +#define SIMPLEXML_IMPORT extern #endif #ifdef ZTS @@ -58,10 +60,10 @@ typedef struct { typedef struct { zend_object zo; - xmlHashTablePtr nsmap; + xmlNodePtr node; simplexml_ref_obj *document; + xmlHashTablePtr nsmap; xmlXPathContextPtr xpath; - xmlNodePtr node; } php_sxe_object; |