diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-02-26 15:01:08 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-02-26 15:01:08 +0400 |
commit | 495551aa8c3d66ee16ab91c1fb97329f10c0632c (patch) | |
tree | 19f39597305afd611b7a6788964f7f14ff120208 /Zend/zend_iterators.h | |
parent | a4a86df3c0c47362a6932585a447f87dc9823451 (diff) | |
download | php-git-495551aa8c3d66ee16ab91c1fb97329f10c0632c.tar.gz |
Fixed iterators API. zend_iterator_init() has to be used in each get_iterator() callback.
Diffstat (limited to 'Zend/zend_iterators.h')
-rw-r--r-- | Zend/zend_iterators.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_iterators.h b/Zend/zend_iterators.h index 0ab5bef82a..d6cba7c892 100644 --- a/Zend/zend_iterators.h +++ b/Zend/zend_iterators.h @@ -83,7 +83,7 @@ BEGIN_EXTERN_C() ZEND_API enum zend_object_iterator_kind zend_iterator_unwrap(zval *array_ptr, zend_object_iterator **iter TSRMLS_DC); /* given an iterator, wrap it up as a zval for use by the engine opcodes */ -ZEND_API void zend_iterator_wrap(zend_object_iterator *iter, zval *zv TSRMLS_DC); +ZEND_API void zend_iterator_init(zend_object_iterator *iter TSRMLS_DC); ZEND_API void zend_register_iterator_wrapper(TSRMLS_D); END_EXTERN_C() |