X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqtxn.c;h=ebcb44d806e7df3c25869dc0ae4d1592741a2b23;hp=9a97a8f9567a8ca390359c901e5f142cda145f80;hb=7ebb278e7854e8dd7c4fd6c0363531642d135676;hpb=75f3b1b8e2a950e2bce76ad8a68a37472485d3e6 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;