]> granicus.if.org Git - php/commitdiff
- More ZEND_API's
authorMarcus Boerger <helly@php.net>
Thu, 8 Feb 2007 12:29:57 +0000 (12:29 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 8 Feb 2007 12:29:57 +0000 (12:29 +0000)
Zend/zend_API.c
Zend/zend_API.h

index 2783354ed1f480cf05fcc8510dfb4a45a13fd777..9aade4b43785aeb0db92aebec635ec654af70dd0 100644 (file)
@@ -2882,7 +2882,7 @@ ZEND_API int zend_fcall_info_init(zval *callable, zend_fcall_info *fci, zend_fca
        return SUCCESS;
 }
 
-static inline void zend_fcall_info_args_clear(zend_fcall_info *fci, int free_mem)
+ZEND_API void zend_fcall_info_args_clear(zend_fcall_info *fci, int free_mem)
 {
        if (fci->params) {
                while (fci->param_count) {
@@ -2896,7 +2896,7 @@ static inline void zend_fcall_info_args_clear(zend_fcall_info *fci, int free_mem
        fci->param_count = 0;
 }
 
-static inline void zend_fcall_info_args_save(zend_fcall_info *fci, int *param_count, zval ****params)
+ZEND_API void zend_fcall_info_args_save(zend_fcall_info *fci, int *param_count, zval ****params)
 {
        *param_count = fci->param_count;
        *params = fci->params;
@@ -2904,7 +2904,7 @@ static inline void zend_fcall_info_args_save(zend_fcall_info *fci, int *param_co
        fci->params = NULL;
 }
 
-static inline void zend_fcall_info_args_restore(zend_fcall_info *fci, int param_count, zval ***params)
+ZEND_API void zend_fcall_info_args_restore(zend_fcall_info *fci, int param_count, zval ***params)
 {
        zend_fcall_info_args_clear(fci, 1);
        fci->param_count = param_count;
index 74df7c2c8910852f89ee8465b55ecfd94cbd290a..45f9bcaafad843f80c5c07d1af1d1f5b77fcb23c 100644 (file)
@@ -1527,6 +1527,10 @@ ZEND_API extern zend_fcall_info_cache empty_fcall_info_cache;
  */
 ZEND_API int zend_fcall_info_init(zval *callable, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zval *callable_name TSRMLS_DC);
 
+ZEND_API void zend_fcall_info_args_clear(zend_fcall_info *fci, int free_mem);
+ZEND_API void zend_fcall_info_args_save(zend_fcall_info *fci, int *param_count, zval ****params);
+ZEND_API void zend_fcall_info_args_restore(zend_fcall_info *fci, int param_count, zval ***params);
+
 /** Set or clear the arguments in the zend_call_info struct taking care of
  * refcount. If args is NULL and arguments are set then those are cleared.
  */