diff options
author | Stanislav Malyshev <stas@php.net> | 2000-08-17 08:48:16 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2000-08-17 08:48:16 +0000 |
commit | 1f793fd06c38d9d60293b6fce3940c2578f22c9b (patch) | |
tree | a7760b591b38c6154636558cd974b0f27dd874ba /Zend | |
parent | 56ecc789838e144798f7ff484f210e13c610addd (diff) | |
download | php-git-1f793fd06c38d9d60293b6fce3940c2578f22c9b.tar.gz |
Fix EMPTY_STRING macros
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_API.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index f603f0e50e..8125193fcd 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -227,7 +227,7 @@ ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length, #define ZVAL_EMPTY_STRING(z) { \ (z)->value.str.len = 0; \ - (z)->value.str.val = empty_string \ + (z)->value.str.val = empty_string; \ (z)->type = IS_STRING; \ } @@ -268,7 +268,7 @@ ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length, #define RETVAL_EMPTY_STRING() { \ return_value->value.str.len = 0; \ - return_value->value.str.val = empty_string \ + return_value->value.str.val = empty_string; \ return_value->type = IS_STRING; \ } @@ -319,7 +319,7 @@ ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length, #define RETURN_EMPTY_STRING() { \ return_value->value.str.len = 0; \ - return_value->value.str.val = empty_string \ + return_value->value.str.val = empty_string; \ return_value->type = IS_STRING; \ return; \ } |