]> granicus.if.org Git - php/commitdiff
Remove add_method() macro
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 17 Sep 2018 19:25:01 +0000 (21:25 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 18 Sep 2018 10:12:36 +0000 (12:12 +0200)
Which uses add_assoc_function(), which doesn't exist anymore...

Zend/zend_API.h

index ab25e4960343f74a9acdbd30a109b7b7f562946f..5fd84588b803b010b1134d4fced8678b3b21d784 100644 (file)
@@ -552,8 +552,6 @@ ZEND_API zend_bool zend_is_iterable(zval *iterable);
 
 ZEND_API zend_bool zend_is_countable(zval *countable);
 
-#define add_method(arg, key, method)   add_assoc_function((arg), (key), (method))
-
 ZEND_API ZEND_FUNCTION(display_disabled_function);
 ZEND_API ZEND_FUNCTION(display_disabled_class);
 END_EXTERN_C()