X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_util_object.c;fp=http_util_object.c;h=1bcf8a7e2458bc833c6896897ba696764a9f620b;hp=5ff76a47ebd74afbf324945e74e9a528c515be42;hb=1a0dbb96fbe46a2edec1c813798cef7b0898eebe;hpb=b637b6a7dc7e76df505a6f039994ed74c9f8ea1e diff --git a/http_util_object.c b/http_util_object.c index 5ff76a4..1bcf8a7 100644 --- a/http_util_object.c +++ b/http_util_object.c @@ -20,10 +20,10 @@ #include "php_http_util_object.h" -#define HTTP_BEGIN_ARGS(method, req_args) HTTP_BEGIN_ARGS_EX(HttpUtil, method, 0, req_args) -#define HTTP_EMPTY_ARGS(method, ret_ref) HTTP_EMPTY_ARGS_EX(HttpUtil, method, ret_ref) +#define HTTP_BEGIN_ARGS(method, req_args) HTTP_BEGIN_ARGS_EX(HttpUtil, method, 0, req_args) +#define HTTP_EMPTY_ARGS(method) HTTP_EMPTY_ARGS_EX(HttpUtil, method, 0) -#define HTTP_UTIL_ALIAS(method, func) HTTP_STATIC_ME_ALIAS(method, func, HTTP_ARGS(HttpUtil, method)) +#define HTTP_UTIL_ALIAS(method, func) HTTP_STATIC_ME_ALIAS(method, func, HTTP_ARGS(HttpUtil, method)) HTTP_BEGIN_ARGS(date, 0) HTTP_ARG_VAL(timestamp, 0)