summaryrefslogtreecommitdiff
path: root/Zend/zend_iterators.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_iterators.h')
-rw-r--r--Zend/zend_iterators.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Zend/zend_iterators.h b/Zend/zend_iterators.h
index a1148db214..39dbc7b163 100644
--- a/Zend/zend_iterators.h
+++ b/Zend/zend_iterators.h
@@ -30,28 +30,28 @@ typedef struct _zend_object_iterator zend_object_iterator;
typedef struct _zend_object_iterator_funcs {
/* release all resources associated with this iterator instance */
- void (*dtor)(zend_object_iterator *iter TSRMLS_DC);
+ void (*dtor)(zend_object_iterator *iter);
/* check for end of iteration (FAILURE or SUCCESS if data is valid) */
- int (*valid)(zend_object_iterator *iter TSRMLS_DC);
+ int (*valid)(zend_object_iterator *iter);
/* fetch the item data for the current element */
- zval *(*get_current_data)(zend_object_iterator *iter TSRMLS_DC);
+ zval *(*get_current_data)(zend_object_iterator *iter);
/* fetch the key for the current element (optional, may be NULL). The key
* should be written into the provided zval* using the ZVAL_* macros. If
* this handler is not provided auto-incrementing integer keys will be
* used. */
- void (*get_current_key)(zend_object_iterator *iter, zval *key TSRMLS_DC);
+ void (*get_current_key)(zend_object_iterator *iter, zval *key);
/* step forwards to next element */
- void (*move_forward)(zend_object_iterator *iter TSRMLS_DC);
+ void (*move_forward)(zend_object_iterator *iter);
/* rewind to start of data (optional, may be NULL) */
- void (*rewind)(zend_object_iterator *iter TSRMLS_DC);
+ void (*rewind)(zend_object_iterator *iter);
/* invalidate current value/key (optional, may be NULL) */
- void (*invalidate_current)(zend_object_iterator *iter TSRMLS_DC);
+ void (*invalidate_current)(zend_object_iterator *iter);
} zend_object_iterator_funcs;
struct _zend_object_iterator {
@@ -73,13 +73,13 @@ typedef struct _zend_class_iterator_funcs {
BEGIN_EXTERN_C()
/* given a zval, returns stuff that can be used to iterate it. */
-ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr TSRMLS_DC);
+ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr);
/* given an iterator, wrap it up as a zval for use by the engine opcodes */
-ZEND_API void zend_iterator_init(zend_object_iterator *iter TSRMLS_DC);
-ZEND_API void zend_iterator_dtor(zend_object_iterator *iter TSRMLS_DC);
+ZEND_API void zend_iterator_init(zend_object_iterator *iter);
+ZEND_API void zend_iterator_dtor(zend_object_iterator *iter);
-ZEND_API void zend_register_iterator_wrapper(TSRMLS_D);
+ZEND_API void zend_register_iterator_wrapper(void);
END_EXTERN_C()
/*