diff options
-rw-r--r-- | Zend/zend_variables.c | 4 | ||||
-rw-r--r-- | Zend/zend_variables.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c index 6c0a882cdf..e57ad0de33 100644 --- a/Zend/zend_variables.c +++ b/Zend/zend_variables.c @@ -89,7 +89,7 @@ ZEND_API void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC) } -void zval_del_ref(zval **p) +ZEND_API void zval_del_ref(zval **p) { (*p)->refcount--; if ((*p)->refcount==0) { @@ -99,7 +99,7 @@ void zval_del_ref(zval **p) } -void zval_add_ref(zval **p) +ZEND_API void zval_add_ref(zval **p) { (*p)->refcount++; } diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h index e374003003..7d080fa223 100644 --- a/Zend/zend_variables.h +++ b/Zend/zend_variables.h @@ -48,8 +48,8 @@ ZEND_API void _zval_ptr_dtor_wrapper(zval **zval_ptr); END_EXTERN_C() -void zval_add_ref(zval **p); -void zval_del_ref(zval **p); +ZEND_API void zval_add_ref(zval **p); +ZEND_API void zval_del_ref(zval **p); #define ZVAL_DESTRUCTOR (void (*)(void *)) zval_dtor_wrapper #define ZVAL_PTR_DTOR (void (*)(void *)) zval_ptr_dtor_wrapper |