X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_std_defs.h;h=a2b753faf789eded880711c838dce4ddee1cb84b;hp=74db7d43070acab2bb822e69117519ffebee3651;hb=5efb94c93bc4c1d4873706958962acc4313477f3;hpb=b562e34cf4f8c8fae7b8fe773e0eed71592b09c2 diff --git a/php_http_std_defs.h b/php_http_std_defs.h index 74db7d4..a2b753f 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -305,7 +305,7 @@ typedef int STATUS; # define HTTP_EMPTY_ARGS_EX(class, method, ret_ref) HTTP_BEGIN_ARGS_EX(class, method, ret_ref, 0) HTTP_END_ARGS # define HTTP_ARGS(class, method) args_for_ ##class## _ ##method # define HTTP_ARG_VAL(name, pass_ref) ZEND_ARG_INFO(pass_ref, name) -# define HTTP_ARG_OBJ(class, name, allow_null) ZEND_ARG_OBJ_INFO(1, name, class, allow_null) +# define HTTP_ARG_OBJ(class, name, allow_null) ZEND_ARG_OBJ_INFO(0, name, class, allow_null) #endif #ifdef ZEND_ENGINE_2