From: Marcus Boerger Date: Thu, 11 May 2006 08:11:45 +0000 (+0000) Subject: - MFH Add missing ZEND_API declarations X-Git-Tag: php-5.2.0RC1~592 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38ff4bba17c6f5b0325177994228352a28c9b4eb;p=php - MFH Add missing ZEND_API declarations --- diff --git a/Zend/zend_interfaces.h b/Zend/zend_interfaces.h index 55fc7ea94c..81cadfb907 100755 --- a/Zend/zend_interfaces.h +++ b/Zend/zend_interfaces.h @@ -5,7 +5,7 @@ | Copyright (c) 1998-2006 Zend Technologies Ltd. (http://www.zend.com) | +----------------------------------------------------------------------+ | This source file is subject to version 2.00 of the Zend license, | - | that is bundled with this package in the file LICENSE, and is | + | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.zend.com/license/2_00.txt. | | If you did not receive a copy of the Zend license and are unable to | @@ -49,6 +49,16 @@ ZEND_API zval* zend_call_method(zval **object_pp, zend_class_entry *obj_ce, zend #define zend_call_method_with_2_params(obj, obj_ce, fn_proxy, function_name, retval, arg1, arg2) \ zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, arg2 TSRMLS_CC) +ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter TSRMLS_DC); +ZEND_API int zend_user_it_valid(zend_object_iterator *_iter TSRMLS_DC); +ZEND_API int zend_user_it_get_current_key(zend_object_iterator *_iter, char **str_key, uint *str_key_len, ulong *int_key TSRMLS_DC); +ZEND_API void zend_user_it_get_current_data(zend_object_iterator *_iter, zval ***data TSRMLS_DC); +ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter TSRMLS_DC); +ZEND_API void zend_user_it_invalidate_current(zend_object_iterator *_iter TSRMLS_DC); + +ZEND_API zval *zend_user_it_new_iterator(zend_class_entry *ce, zval *object TSRMLS_DC); +ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); + ZEND_API void zend_register_interfaces(TSRMLS_D); END_EXTERN_C()