From: Michael Wallner Date: Wed, 27 Jul 2011 14:04:39 +0000 (+0000) Subject: fix arginfo X-Git-Tag: DEV_2-before-client~100 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=25299586e95bdb7a1c522df19c4c690955bfac1b;p=m6w6%2Fext-http fix arginfo --- diff --git a/php_http_request_factory.c b/php_http_request_factory.c index 32574f9..f0e6680 100644 --- a/php_http_request_factory.c +++ b/php_http_request_factory.c @@ -50,13 +50,19 @@ PHP_HTTP_BEGIN_ARGS(__construct, 1) PHP_HTTP_ARG_VAL(options, 0) PHP_HTTP_END_ARGS; PHP_HTTP_BEGIN_ARGS(createRequest, 0) - PHP_HTTP_ARG_VAL(persistentHandle, 0) + PHP_HTTP_ARG_VAL(url, 0) + PHP_HTTP_ARG_VAL(method, 0) + PHP_HTTP_ARG_VAL(options, 0) PHP_HTTP_END_ARGS; PHP_HTTP_BEGIN_ARGS(createPool, 0) - PHP_HTTP_ARG_VAL(persistentHandle, 0) + PHP_HTTP_ARG_OBJ(http\\Request, request1, 1) + PHP_HTTP_ARG_OBJ(http\\Request, request2, 1) + PHP_HTTP_ARG_OBJ(http\\Request, requestN, 1) PHP_HTTP_END_ARGS; PHP_HTTP_BEGIN_ARGS(createDataShare, 0) - PHP_HTTP_ARG_VAL(persistentHandle, 0) + PHP_HTTP_ARG_OBJ(http\\Request, request1, 1) + PHP_HTTP_ARG_OBJ(http\\Request, request2, 1) + PHP_HTTP_ARG_OBJ(http\\Request, requestN, 1) PHP_HTTP_END_ARGS; PHP_HTTP_EMPTY_ARGS(getGlobalDataShareInstance); PHP_HTTP_EMPTY_ARGS(getDriver);