X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqcancel.c;h=edf8b109c28b1799099b6f6bac0a4b6123b7ea16;hp=4d5d33934027f0d58d450db1e040722eef5c097d;hb=8897b5a581a86279a2ee371784b6b7670c8b8cc1;hpb=1e2615005272bb2347820bccb38c94b9caccafb8 diff --git a/src/php_pqcancel.c b/src/php_pqcancel.c index 4d5d339..edf8b10 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} };