1
0
mirror of https://github.com/danog/ext-pq.git synced 2025-01-22 22:01:33 +01:00

no gc for now

This commit is contained in:
Michael Wallner 2013-04-15 12:45:49 +02:00
parent 4be7248e55
commit 5aa292d5bc
10 changed files with 8 additions and 9 deletions

View File

@ -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) {

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;