X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_pqconn.c;h=148d2ffe324f28f4029b9b27c880335143a9bae8;hb=fa62bc04ca30261e32134dd7299e49ac69fede20;hp=9b507b62591d381d042e1a0b082a67d9b80cb676;hpb=8897b5a581a86279a2ee371784b6b7670c8b8cc1;p=m6w6%2Fext-pq diff --git a/src/php_pqconn.c b/src/php_pqconn.c index 9b507b6..148d2ff 100644 --- a/src/php_pqconn.c +++ b/src/php_pqconn.c @@ -42,7 +42,7 @@ static void php_pq_callback_hash_dtor(zval *p) } /* -static void php_pqconn_del_eventhandler(php_pqconn_object_t *obj, const char *type_str, size_t type_len, ulong id) +static void php_pqconn_del_eventhandler(php_pqconn_object_t *obj, const char *type_str, size_t type_len, unsigned long id) { zval **evhs; @@ -2004,7 +2004,7 @@ PHP_MINIT_FUNCTION(pqconn) php_pqconn_object_handlers.read_property = php_pq_object_read_prop; php_pqconn_object_handlers.write_property = php_pq_object_write_prop; php_pqconn_object_handlers.clone_obj = NULL; - php_pqconn_object_handlers.get_property_ptr_ptr = NULL; + php_pqconn_object_handlers.get_property_ptr_ptr = php_pq_object_get_prop_ptr_null; php_pqconn_object_handlers.get_gc = php_pq_object_get_gc; php_pqconn_object_handlers.get_properties = php_pq_object_properties; php_pqconn_object_handlers.get_debug_info = php_pq_object_debug_info;