diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-17 21:27:25 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-18 12:12:36 +0200 |
commit | c625150b023318b94b100ac06c25750e09aefd8f (patch) | |
tree | ef26364f35303b33f6713fc6c0814429448f7b2e | |
parent | 5cf2045b0a2b30f57fa2877d416cd7ee88ba47e7 (diff) | |
download | php-git-c625150b023318b94b100ac06c25750e09aefd8f.tar.gz |
Remove legacy add_*_unset() macros
These have been superseded by add_*_null().
-rw-r--r-- | Zend/zend_API.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 5fd84588b8..718f5a7a80 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -405,12 +405,6 @@ ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval #define add_assoc_stringl(__arg, __key, __str, __length) add_assoc_stringl_ex(__arg, __key, strlen(__key), __str, __length) #define add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value) -/* unset() functions are only supported for legacy modules and null() functions should be used */ -#define add_assoc_unset(__arg, __key) add_assoc_null_ex(__arg, __key, strlen(__key)) -#define add_index_unset(__arg, __key) add_index_null(__arg, __key) -#define add_next_index_unset(__arg) add_next_index_null(__arg) -#define add_property_unset(__arg, __key) add_property_null(__arg, __key) - ZEND_API int add_index_long(zval *arg, zend_ulong idx, zend_long n); ZEND_API int add_index_null(zval *arg, zend_ulong idx); ZEND_API int add_index_bool(zval *arg, zend_ulong idx, int b); |