X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqlob.c;h=006eb751abde6fd2615013aa23bc12a0a84696f6;hp=b5cbf5c423fbc18dbcff485a274f636693cb1c21;hb=7ebb278e7854e8dd7c4fd6c0363531642d135676;hpb=768d8a8ddc93afddc736df5b1442ad5b326f3c4e diff --git a/src/php_pqlob.c b/src/php_pqlob.c index b5cbf5c..006eb75 100644 --- a/src/php_pqlob.c +++ b/src/php_pqlob.c @@ -423,7 +423,7 @@ static PHP_METHOD(pqlob, truncate) { } static zend_function_entry php_pqlob_methods[] = { - PHP_ME(pqlob, __construct, ai_pqlob_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(pqlob, __construct, ai_pqlob_construct, ZEND_ACC_PUBLIC) PHP_ME(pqlob, write, ai_pqlob_write, ZEND_ACC_PUBLIC) PHP_ME(pqlob, read, ai_pqlob_read, ZEND_ACC_PUBLIC) PHP_ME(pqlob, seek, ai_pqlob_seek, ZEND_ACC_PUBLIC) @@ -453,7 +453,7 @@ PHP_MINIT_FUNCTION(pqlob) php_pqlob_object_handlers.read_property = php_pq_object_read_prop; php_pqlob_object_handlers.write_property = php_pq_object_write_prop; php_pqlob_object_handlers.clone_obj = NULL; - php_pqlob_object_handlers.get_property_ptr_ptr = NULL; + php_pqlob_object_handlers.get_property_ptr_ptr = php_pq_object_get_prop_ptr_null; php_pqlob_object_handlers.get_gc = php_pq_object_get_gc; php_pqlob_object_handlers.get_properties = php_pq_object_properties; php_pqlob_object_handlers.get_debug_info = php_pq_object_debug_info;