diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-11 09:33:41 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-11 09:33:41 +0000 |
| commit | ed542331b749826baa17d5bd23265b465b6a9494 (patch) | |
| tree | 6a6a4f6dd192942880d2a77385ca4d4bf3d3c7e0 /Zend/zend_variables.h | |
| parent | ff4dfc56f287d9bd9ec2e9c11be8dd4b920961dd (diff) | |
| download | php-git-ed542331b749826baa17d5bd23265b465b6a9494.tar.gz | |
Get rid of some inlines
Diffstat (limited to 'Zend/zend_variables.h')
| -rw-r--r-- | Zend/zend_variables.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h index 7dd6f8acd3..a0cd7fc357 100644 --- a/Zend/zend_variables.h +++ b/Zend/zend_variables.h @@ -54,7 +54,10 @@ ZEND_API void zval_add_ref(zval **p); #define ZVAL_PTR_DTOR (void (*)(void *)) zval_ptr_dtor_wrapper #define ZVAL_COPY_CTOR (void (*)(void *)) zval_copy_ctor_wrapper -ZEND_API void var_reset(zval *var); +#define ZVAL_RESET(var) \ + (var)->type = IS_BOOL; \ + (var)->value.lval = 0; + ZEND_API void var_uninit(zval *var); #endif |
