summaryrefslogtreecommitdiff
path: root/ext/qtdom
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 01:56:43 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 01:56:43 +0000
commit1c25b8dd532961ecb09932b182457ca0adcf8b57 (patch)
tree2996afec821096218156f1d914301ad589edf897 /ext/qtdom
parentb57703825be0ff40d34ee257ce14c453c4bffb98 (diff)
downloadphp-git-1c25b8dd532961ecb09932b182457ca0adcf8b57.tar.gz
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
Diffstat (limited to 'ext/qtdom')
-rw-r--r--ext/qtdom/qtdom.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/qtdom/qtdom.c b/ext/qtdom/qtdom.c
index 9d4ea7d059..0f0e002e29 100644
--- a/ext/qtdom/qtdom.c
+++ b/ext/qtdom/qtdom.c
@@ -71,17 +71,14 @@ ZEND_GET_MODULE(qtdom)
*/
PHP_MINIT_FUNCTION(qtdom)
{
-/* Remove comments if you have entries in php.ini
- REGISTER_INI_ENTRIES();
-*/
zend_class_entry qdomdoc_class_entry;
zend_class_entry qdomnode_class_entry;
INIT_CLASS_ENTRY(qdomdoc_class_entry, "QDomDocument", qdomdoc_class_functions);
INIT_CLASS_ENTRY(qdomnode_class_entry, "QDomNode", qdomnode_class_functions);
- qdomdoc_class_entry_ptr = zend_register_internal_class(&qdomdoc_class_entry);
- qdomnode_class_entry_ptr = zend_register_internal_class(&qdomnode_class_entry);
+ qdomdoc_class_entry_ptr = zend_register_internal_class(&qdomdoc_class_entry TSRMLS_CC);
+ qdomnode_class_entry_ptr = zend_register_internal_class(&qdomnode_class_entry TSRMLS_CC);
qdom_init();