diff options
author | Christian Stocker <chregu@php.net> | 2003-04-08 13:19:49 +0000 |
---|---|---|
committer | Christian Stocker <chregu@php.net> | 2003-04-08 13:19:49 +0000 |
commit | 2c3dc130274ed8a7f32f71323cfd82ff3662e7d5 (patch) | |
tree | beaf237b962b9b29c0a7fcd147214eb275bba188 /ext/domxml/php_domxml.h | |
parent | 487b190a419d3f3a6540319f63342088224d81cc (diff) | |
download | php-git-2c3dc130274ed8a7f32f71323cfd82ff3662e7d5.tar.gz |
- Fixes a bunch of memleaks, especially with attributes (by Rob Richards and me)
- Added domdocument->free() for freeing documents during script-time
#will later merge to PHP_4_3
Diffstat (limited to 'ext/domxml/php_domxml.h')
-rw-r--r-- | ext/domxml/php_domxml.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/domxml/php_domxml.h b/ext/domxml/php_domxml.h index 0053a54cff..e7c6c86323 100644 --- a/ext/domxml/php_domxml.h +++ b/ext/domxml/php_domxml.h @@ -53,7 +53,7 @@ therefore it's easier for the script-programmers to check, what's working how Can be checked with phpversion("domxml"); */ -#define DOMXML_API_VERSION "20030405" +#define DOMXML_API_VERSION "20030407" extern zend_module_entry domxml_module_entry; #define domxml_module_ptr &domxml_module_entry @@ -73,7 +73,7 @@ PHPAPI zval *php_domobject_new(xmlNodePtr obj, int *found, zval* in TSRMLS_DC); /* directory functions */ PHP_MINIT_FUNCTION(domxml); -PHP_RINIT_FUNCTION(domxml); +PHP_MSHUTDOWN_FUNCTION(domxml); PHP_MINFO_FUNCTION(domxml); PHP_FUNCTION(domxml_version); PHP_FUNCTION(xmldoc); @@ -109,6 +109,7 @@ PHP_FUNCTION(domxml_dump_mem_file); PHP_FUNCTION(domxml_dump_node); PHP_FUNCTION(domxml_doc_validate); PHP_FUNCTION(domxml_doc_xinclude); +PHP_FUNCTION(domxml_doc_free_doc); #if defined(LIBXML_HTML_ENABLED) PHP_FUNCTION(domxml_html_dump_mem); #endif |