From: Michael Wallner Date: Mon, 15 Apr 2013 10:45:49 +0000 (+0200) Subject: no gc for now X-Git-Tag: v0.2.0~6 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=5aa292d5bc46cd8fe266d682397dba19dc1e1d36;p=m6w6%2Fext-pq no gc for now --- diff --git a/src/php_pq_object.c b/src/php_pq_object.c index c471edf..704737f 100644 --- a/src/php_pq_object.c +++ b/src/php_pq_object.c @@ -99,13 +99,6 @@ HashTable *php_pq_object_properties(zval *object TSRMLS_DC) return ht; } -HashTable *php_pq_object_gc(zval *object, zval ***gc_argv, int *gc_argc TSRMLS_DC) -{ - *gc_argv = NULL; - *gc_argc = 0; - return NULL; -} - zend_class_entry *ancestor(zend_class_entry *ce) { while (ce->parent) { diff --git a/src/php_pq_object.h b/src/php_pq_object.h index 7498ffe..311f17f 100644 --- a/src/php_pq_object.h +++ b/src/php_pq_object.h @@ -33,7 +33,6 @@ void php_pq_object_addref(void *o TSRMLS_DC); void php_pq_object_delref(void *o TSRMLS_DC); HashTable *php_pq_object_debug_info(zval *object, int *temp TSRMLS_DC); HashTable *php_pq_object_properties(zval *object TSRMLS_DC); -HashTable *php_pq_object_gc(zval *object, zval ***gc_argv, int *gc_argc TSRMLS_DC); zend_class_entry *ancestor(zend_class_entry *ce); zval *php_pq_object_read_prop(zval *object, zval *member, int type, const zend_literal *key TSRMLS_DC); void php_pq_object_write_prop(zval *object, zval *member, zval *value, const zend_literal *key TSRMLS_DC); diff --git a/src/php_pqcancel.c b/src/php_pqcancel.c index 8f3d9da..ba5c0e4 100644 --- a/src/php_pqcancel.c +++ b/src/php_pqcancel.c @@ -158,6 +158,7 @@ PHP_MINIT_FUNCTION(pqcancel) php_pqcancel_object_handlers.write_property = php_pq_object_write_prop; php_pqcancel_object_handlers.clone_obj = NULL; php_pqcancel_object_handlers.get_property_ptr_ptr = NULL; + php_pqcancel_object_handlers.get_gc = NULL; php_pqcancel_object_handlers.get_properties = php_pq_object_properties; php_pqcancel_object_handlers.get_debug_info = php_pq_object_debug_info; diff --git a/src/php_pqconn.c b/src/php_pqconn.c index 376ce3b..2f0d9f8 100644 --- a/src/php_pqconn.c +++ b/src/php_pqconn.c @@ -1530,7 +1530,7 @@ PHP_MINIT_FUNCTION(pqconn) 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_gc = php_pq_object_gc; + php_pqconn_object_handlers.get_gc = NULL; php_pqconn_object_handlers.get_properties = php_pq_object_properties; php_pqconn_object_handlers.get_debug_info = php_pq_object_debug_info; diff --git a/src/php_pqcopy.c b/src/php_pqcopy.c index 1ea8a50..77644b1 100644 --- a/src/php_pqcopy.c +++ b/src/php_pqcopy.c @@ -322,6 +322,7 @@ PHP_MINIT_FUNCTION(pqcopy) php_pqcopy_object_handlers.write_property = php_pq_object_write_prop; php_pqcopy_object_handlers.clone_obj = NULL; php_pqcopy_object_handlers.get_property_ptr_ptr = NULL; + php_pqcopy_object_handlers.get_gc = NULL; php_pqcopy_object_handlers.get_properties = php_pq_object_properties; php_pqcopy_object_handlers.get_debug_info = php_pq_object_debug_info; diff --git a/src/php_pqlob.c b/src/php_pqlob.c index 2dc9be3..1188907 100644 --- a/src/php_pqlob.c +++ b/src/php_pqlob.c @@ -463,6 +463,7 @@ PHP_MINIT_FUNCTION(pqlob) 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_gc = NULL; php_pqlob_object_handlers.get_properties = php_pq_object_properties; php_pqlob_object_handlers.get_debug_info = php_pq_object_debug_info; diff --git a/src/php_pqres.c b/src/php_pqres.c index 57818f4..aee753d 100644 --- a/src/php_pqres.c +++ b/src/php_pqres.c @@ -879,6 +879,7 @@ PHP_MINIT_FUNCTION(pqres) php_pqres_object_handlers.write_property = php_pq_object_write_prop; php_pqres_object_handlers.clone_obj = NULL; php_pqres_object_handlers.get_property_ptr_ptr = NULL; + php_pqres_object_handlers.get_gc = NULL; php_pqres_object_handlers.get_debug_info = php_pq_object_debug_info; php_pqres_object_handlers.get_properties = php_pq_object_properties; php_pqres_object_handlers.count_elements = php_pqres_count_elements; diff --git a/src/php_pqstm.c b/src/php_pqstm.c index 83496df..831663c 100644 --- a/src/php_pqstm.c +++ b/src/php_pqstm.c @@ -359,6 +359,7 @@ PHP_MINIT_FUNCTION(pqstm) php_pqstm_object_handlers.write_property = php_pq_object_write_prop; php_pqstm_object_handlers.clone_obj = NULL; php_pqstm_object_handlers.get_property_ptr_ptr = NULL; + php_pqstm_object_handlers.get_gc = NULL; php_pqstm_object_handlers.get_properties = php_pq_object_properties; php_pqstm_object_handlers.get_debug_info = php_pq_object_debug_info; diff --git a/src/php_pqtxn.c b/src/php_pqtxn.c index 411b7fb..021ece4 100644 --- a/src/php_pqtxn.c +++ b/src/php_pqtxn.c @@ -886,6 +886,7 @@ PHP_MINIT_FUNCTION(pqtxn) 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_gc = NULL; php_pqtxn_object_handlers.get_properties = php_pq_object_properties; php_pqtxn_object_handlers.get_debug_info = php_pq_object_debug_info; diff --git a/src/php_pqtypes.c b/src/php_pqtypes.c index 8995f26..db2c44e 100644 --- a/src/php_pqtypes.c +++ b/src/php_pqtypes.c @@ -324,6 +324,7 @@ PHP_MINIT_FUNCTION(pqtypes) php_pqtypes_object_handlers.write_property = php_pq_object_write_prop; php_pqtypes_object_handlers.clone_obj = NULL; php_pqtypes_object_handlers.get_property_ptr_ptr = NULL; + php_pqtypes_object_handlers.get_gc = NULL; php_pqtypes_object_handlers.get_properties = php_pq_object_properties; php_pqtypes_object_handlers.get_debug_info = php_pq_object_debug_info; php_pqtypes_object_handlers.has_dimension = php_pqtypes_object_has_dimension;