summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-04-21 14:45:10 +0000
committerThies C. Arntzen <thies@php.net>2000-04-21 14:45:10 +0000
commit80486c95be8c84fbe03f918ed3ca48eff708ead0 (patch)
treef021259681ef9dfdb425311844b7c58f903d7ce1 /Zend/zend_variables.c
parent36faff14b16aba798035f33fe0041b4ae7674784 (diff)
downloadphp-git-80486c95be8c84fbe03f918ed3ca48eff708ead0.tar.gz
export zval_add-ref and zvale_del_ref
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c4
1 files changed, 2 insertions, 2 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++;
}