From: Nikita Popov Date: Mon, 17 Sep 2018 19:25:01 +0000 (+0200) Subject: Remove add_method() macro X-Git-Tag: php-7.4.0alpha1~1879 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cf2045b0a2b30f57fa2877d416cd7ee88ba47e7;p=php Remove add_method() macro Which uses add_assoc_function(), which doesn't exist anymore... --- diff --git a/Zend/zend_API.h b/Zend/zend_API.h index ab25e49603..5fd84588b8 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -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()