]> granicus.if.org Git - php/commitdiff
Fix EMPTY_STRING macros
authorStanislav Malyshev <stas@php.net>
Thu, 17 Aug 2000 08:48:16 +0000 (08:48 +0000)
committerStanislav Malyshev <stas@php.net>
Thu, 17 Aug 2000 08:48:16 +0000 (08:48 +0000)
Zend/zend_API.h

index f603f0e50e55bb380c3c95d78ab8f67802f4d7e6..8125193fcdc746ecfe1f8196c6869facf87c9116 100644 (file)
@@ -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;                             \
        }