X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqcancel.c;h=e3b6ed7652304e65b2890686afd6cbaefb0baa48;hp=400e00714b84d7c985047d21efa1db185e35bf72;hb=7ebb278e7854e8dd7c4fd6c0363531642d135676;hpb=75f3b1b8e2a950e2bce76ad8a68a37472485d3e6 diff --git a/src/php_pqcancel.c b/src/php_pqcancel.c index 400e007..e3b6ed7 100644 --- a/src/php_pqcancel.c +++ b/src/php_pqcancel.c @@ -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;