diff options
author | Thies C. Arntzen <thies@php.net> | 2001-07-11 12:40:29 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-07-11 12:40:29 +0000 |
commit | 07ea0684547d1bb701c3a7db95a7d9802500025d (patch) | |
tree | 89a1d4a47331c80ee3d692ab90a239799b548b64 /Zend | |
parent | 6cf5e7f9f763af4aa20f0705a84e78137aa0d47c (diff) | |
download | php-git-07ea0684547d1bb701c3a7db95a7d9802500025d.tar.gz |
fixed ZVAL_FALSE and ZVAL_TRUE
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_API.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 429e1e14f1..6a44d0817b 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -293,8 +293,8 @@ if ((z)->value.str.val[ (z)->value.str.len ] != '\0') zend_error(E_WARNING, "Str (z)->type = IS_STRING; \ } -#define ZVAL_FALSE { (z)->value.lval = 0; (z)->type = IS_BOOL; } -#define ZVAL_TRUE { (z)->value.lval = 1; (z)->type = IS_BOOL; } +#define ZVAL_FALSE(z) ZVAL_BOOL(z,0) +#define ZVAL_TRUE(z) ZVAL_BOOL(z,1) #define RETVAL_RESOURCE(l) ZVAL_RESOURCE(return_value,l) #define RETVAL_BOOL(b) ZVAL_BOOL(return_value,b) |