diff options
author | Andi Gutmans <andi@php.net> | 2001-01-31 05:21:53 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-01-31 05:21:53 +0000 |
commit | 2f2d32fa61237828b81c8c45674ff2fff55f66d6 (patch) | |
tree | 8dd3e5754df3d6456e2b684b384c029531d081c8 | |
parent | fb33db9aa84397ed32666eb2291896f8d768a061 (diff) | |
download | php-git-2f2d32fa61237828b81c8c45674ff2fff55f66d6.tar.gz |
- Quick fix. I'm for changing these to add_property_null() as we've nuked
- unset.
-rw-r--r-- | Zend/zend_API.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index fdb5c1af90..2a390f6bb5 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -203,7 +203,7 @@ ZEND_API int add_property_stringl_ex(zval *arg, char *key, uint key_len, char * ZEND_API int add_property_zval_ex(zval *arg, char *key, uint key_len, zval *value); #define add_property_long(__arg, __key, __n) add_property_long_ex(__arg, __key, strlen(__key)+1, __n) -#define add_property_unset(__arg, __key) add_assoc_property_ex(__arg, __key, strlen(__key) + 1) +#define add_property_unset(__arg, __key) add_property_unset_ex(__arg, __key, strlen(__key) + 1) #define add_property_bool(__arg, __key, __b) add_property_bool_ex(__arg, __key, strlen(__key)+1, __b) #define add_property_resource(__arg, __key, __r) add_property_resource_ex(__arg, __key, strlen(__key)+1, __r) #define add_property_double(__arg, __key, __d) add_property_double_ex(__arg, __key, strlen(__key)+1, __d) |