X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqcancel.c;h=e3b6ed7652304e65b2890686afd6cbaefb0baa48;hp=4d5d33934027f0d58d450db1e040722eef5c097d;hb=7ebb278e7854e8dd7c4fd6c0363531642d135676;hpb=1e2615005272bb2347820bccb38c94b9caccafb8 diff --git a/src/php_pqcancel.c b/src/php_pqcancel.c index 4d5d339..e3b6ed7 100644 --- a/src/php_pqcancel.c +++ b/src/php_pqcancel.c @@ -49,7 +49,7 @@ php_pqcancel_object_t *php_pqcancel_create_object_ex(zend_class_entry *ce, php_p &php_pqcancel_object_handlers, &php_pqcancel_object_prophandlers); } -static zend_object *php_pqcancel_create_object(zend_class_entry *class_type TSRMLS_DC) +static zend_object *php_pqcancel_create_object(zend_class_entry *class_type) { return &php_pqcancel_create_object_ex(class_type, NULL)->zo; } @@ -130,7 +130,7 @@ static PHP_METHOD(pqcancel, cancel) { } static zend_function_entry php_pqcancel_methods[] = { - PHP_ME(pqcancel, __construct, ai_pqcancel_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqcancel, __construct, ai_pqcancel_construct, ZEND_ACC_PUBLIC) PHP_ME(pqcancel, cancel, ai_pqcancel_cancel, ZEND_ACC_PUBLIC) {0} }; @@ -156,7 +156,7 @@ PHP_MINIT_FUNCTION(pqcancel) php_pqcancel_object_handlers.read_property = php_pq_object_read_prop; php_pqcancel_object_handlers.write_property = php_pq_object_write_prop; php_pqcancel_object_handlers.clone_obj = NULL; - php_pqcancel_object_handlers.get_property_ptr_ptr = NULL; + php_pqcancel_object_handlers.get_property_ptr_ptr = php_pq_object_get_prop_ptr_null; php_pqcancel_object_handlers.get_gc = php_pq_object_get_gc; php_pqcancel_object_handlers.get_properties = php_pq_object_properties; php_pqcancel_object_handlers.get_debug_info = php_pq_object_debug_info;