X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_pqtxn.c;h=ebcb44d806e7df3c25869dc0ae4d1592741a2b23;hb=cc619cb8b6a15e1ea14bedf713cbcd645a0ee7ca;hp=9a97a8f9567a8ca390359c901e5f142cda145f80;hpb=b9f66d2b7378c40f85111ef57e9b0922789f77df;p=m6w6%2Fext-pq diff --git a/src/php_pqtxn.c b/src/php_pqtxn.c index 9a97a8f..ebcb44d 100644 --- a/src/php_pqtxn.c +++ b/src/php_pqtxn.c @@ -843,7 +843,7 @@ static PHP_METHOD(pqtxn, exportLOB) { } static zend_function_entry php_pqtxn_methods[] = { - PHP_ME(pqtxn, __construct, ai_pqtxn_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqtxn, __construct, ai_pqtxn_construct, ZEND_ACC_PUBLIC) PHP_ME(pqtxn, commit, ai_pqtxn_commit, ZEND_ACC_PUBLIC) PHP_ME(pqtxn, rollback, ai_pqtxn_rollback, ZEND_ACC_PUBLIC) PHP_ME(pqtxn, commitAsync, ai_pqtxn_commit_async, ZEND_ACC_PUBLIC) @@ -883,7 +883,7 @@ PHP_MINIT_FUNCTION(pqtxn) php_pqtxn_object_handlers.read_property = php_pq_object_read_prop; php_pqtxn_object_handlers.write_property = php_pq_object_write_prop; php_pqtxn_object_handlers.clone_obj = NULL; - php_pqtxn_object_handlers.get_property_ptr_ptr = NULL; + php_pqtxn_object_handlers.get_property_ptr_ptr = php_pq_object_get_prop_ptr_null; php_pqtxn_object_handlers.get_gc = php_pq_object_get_gc; php_pqtxn_object_handlers.get_properties = php_pq_object_properties; php_pqtxn_object_handlers.get_debug_info = php_pq_object_debug_info;