From: Michael Wallner Date: Thu, 27 Sep 2018 06:18:37 +0000 (+0200) Subject: build: fix master X-Git-Tag: RELEASE_3_2_1~35 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d5d03014cff8c8ca80ee7866af100d3ceae1bd8f;p=m6w6%2Fext-http build: fix master --- diff --git a/src/php_http_client.c b/src/php_http_client.c index 0749825..2f8b4ae 100644 --- a/src/php_http_client.c +++ b/src/php_http_client.c @@ -1314,7 +1314,7 @@ static PHP_METHOD(HttpClient, setDebug) } static zend_function_entry php_http_client_methods[] = { - PHP_ME(HttpClient, __construct, ai_HttpClient_construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpClient, __construct, ai_HttpClient_construct, ZEND_ACC_PUBLIC) PHP_ME(HttpClient, reset, ai_HttpClient_reset, ZEND_ACC_PUBLIC) PHP_ME(HttpClient, enqueue, ai_HttpClient_enqueue, ZEND_ACC_PUBLIC) PHP_ME(HttpClient, dequeue, ai_HttpClient_dequeue, ZEND_ACC_PUBLIC) diff --git a/src/php_http_client_request.c b/src/php_http_client_request.c index 71a9129..9055f49 100644 --- a/src/php_http_client_request.c +++ b/src/php_http_client_request.c @@ -273,7 +273,7 @@ static PHP_METHOD(HttpClientRequest, getSslOptions) } static zend_function_entry php_http_client_request_methods[] = { - PHP_ME(HttpClientRequest, __construct, ai_HttpClientRequest___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpClientRequest, __construct, ai_HttpClientRequest___construct, ZEND_ACC_PUBLIC) PHP_ME(HttpClientRequest, setContentType, ai_HttpClientRequest_setContentType, ZEND_ACC_PUBLIC) PHP_ME(HttpClientRequest, getContentType, ai_HttpClientRequest_getContentType, ZEND_ACC_PUBLIC) PHP_ME(HttpClientRequest, setQuery, ai_HttpClientRequest_setQuery, ZEND_ACC_PUBLIC) diff --git a/src/php_http_encoding.c b/src/php_http_encoding.c index c20e163..c3e9a3a 100644 --- a/src/php_http_encoding.c +++ b/src/php_http_encoding.c @@ -640,7 +640,7 @@ static PHP_METHOD(HttpEncodingStream, finish) } static zend_function_entry php_http_encoding_stream_methods[] = { - PHP_ME(HttpEncodingStream, __construct, ai_HttpEncodingStream___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpEncodingStream, __construct, ai_HttpEncodingStream___construct, ZEND_ACC_PUBLIC) PHP_ME(HttpEncodingStream, update, ai_HttpEncodingStream_update, ZEND_ACC_PUBLIC) PHP_ME(HttpEncodingStream, flush, ai_HttpEncodingStream_flush, ZEND_ACC_PUBLIC) PHP_ME(HttpEncodingStream, done, ai_HttpEncodingStream_done, ZEND_ACC_PUBLIC) diff --git a/src/php_http_env_request.c b/src/php_http_env_request.c index b5454ed..7c6eea8 100644 --- a/src/php_http_env_request.c +++ b/src/php_http_env_request.c @@ -245,7 +245,7 @@ static PHP_METHOD(HttpEnvRequest, getFiles) } static zend_function_entry php_http_env_request_methods[] = { - PHP_ME(HttpEnvRequest, __construct, ai_HttpEnvRequest___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpEnvRequest, __construct, ai_HttpEnvRequest___construct, ZEND_ACC_PUBLIC) PHP_ME(HttpEnvRequest, getForm, ai_HttpEnvRequest_getForm, ZEND_ACC_PUBLIC) PHP_ME(HttpEnvRequest, getQuery, ai_HttpEnvRequest_getQuery, ZEND_ACC_PUBLIC) PHP_ME(HttpEnvRequest, getCookie, ai_HttpEnvRequest_getCookie, ZEND_ACC_PUBLIC) diff --git a/src/php_http_env_response.c b/src/php_http_env_response.c index 40ef4fe..f5d2da9 100644 --- a/src/php_http_env_response.c +++ b/src/php_http_env_response.c @@ -1393,7 +1393,7 @@ static PHP_METHOD(HttpEnvResponse, send) } static zend_function_entry php_http_env_response_methods[] = { - PHP_ME(HttpEnvResponse, __construct, ai_HttpEnvResponse___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpEnvResponse, __construct, ai_HttpEnvResponse___construct, ZEND_ACC_PUBLIC) PHP_ME(HttpEnvResponse, __invoke, ai_HttpEnvResponse___invoke, ZEND_ACC_PUBLIC) PHP_ME(HttpEnvResponse, setEnvRequest, ai_HttpEnvResponse_setEnvRequest, ZEND_ACC_PUBLIC) PHP_ME(HttpEnvResponse, setCookie, ai_HttpEnvResponse_setCookie, ZEND_ACC_PUBLIC) diff --git a/src/php_http_header.c b/src/php_http_header.c index 8c71cde..4c9a702 100644 --- a/src/php_http_header.c +++ b/src/php_http_header.c @@ -398,7 +398,7 @@ PHP_METHOD(HttpHeader, parse) } static zend_function_entry php_http_header_methods[] = { - PHP_ME(HttpHeader, __construct, ai_HttpHeader___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpHeader, __construct, ai_HttpHeader___construct, ZEND_ACC_PUBLIC) PHP_ME(HttpHeader, serialize, ai_HttpHeader_serialize, ZEND_ACC_PUBLIC) ZEND_MALIAS(HttpHeader, __toString, serialize, ai_HttpHeader_serialize, ZEND_ACC_PUBLIC) ZEND_MALIAS(HttpHeader, toString, serialize, ai_HttpHeader_serialize, ZEND_ACC_PUBLIC) diff --git a/src/php_http_message.c b/src/php_http_message.c index 49aa0f9..d70ced4 100644 --- a/src/php_http_message.c +++ b/src/php_http_message.c @@ -1993,7 +1993,7 @@ static PHP_METHOD(HttpMessage, current) } static zend_function_entry php_http_message_methods[] = { - PHP_ME(HttpMessage, __construct, ai_HttpMessage___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpMessage, __construct, ai_HttpMessage___construct, ZEND_ACC_PUBLIC) PHP_ME(HttpMessage, getBody, ai_HttpMessage_getBody, ZEND_ACC_PUBLIC) PHP_ME(HttpMessage, setBody, ai_HttpMessage_setBody, ZEND_ACC_PUBLIC) PHP_ME(HttpMessage, addBody, ai_HttpMessage_addBody, ZEND_ACC_PUBLIC) diff --git a/src/php_http_message_body.c b/src/php_http_message_body.c index 518dbc9..79c8bf7 100644 --- a/src/php_http_message_body.c +++ b/src/php_http_message_body.c @@ -907,7 +907,7 @@ PHP_METHOD(HttpMessageBody, stat) } static zend_function_entry php_http_message_body_methods[] = { - PHP_ME(HttpMessageBody, __construct, ai_HttpMessageBody___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpMessageBody, __construct, ai_HttpMessageBody___construct, ZEND_ACC_PUBLIC) PHP_ME(HttpMessageBody, __toString, ai_HttpMessageBody___toString, ZEND_ACC_PUBLIC) PHP_MALIAS(HttpMessageBody, toString, __toString, ai_HttpMessageBody___toString, ZEND_ACC_PUBLIC) PHP_MALIAS(HttpMessageBody, serialize, __toString, ai_HttpMessageBody___toString, ZEND_ACC_PUBLIC) diff --git a/src/php_http_params.c b/src/php_http_params.c index 0cbfc7e..92c1441 100644 --- a/src/php_http_params.c +++ b/src/php_http_params.c @@ -1290,7 +1290,7 @@ PHP_METHOD(HttpParams, offsetSet) } static zend_function_entry php_http_params_methods[] = { - PHP_ME(HttpParams, __construct, ai_HttpParams___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR|ZEND_ACC_FINAL) + PHP_ME(HttpParams, __construct, ai_HttpParams___construct, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) PHP_ME(HttpParams, toArray, ai_HttpParams_toArray, ZEND_ACC_PUBLIC) PHP_ME(HttpParams, toString, ai_HttpParams_toString, ZEND_ACC_PUBLIC) diff --git a/src/php_http_querystring.c b/src/php_http_querystring.c index 96b58a7..a302bbd 100644 --- a/src/php_http_querystring.c +++ b/src/php_http_querystring.c @@ -680,7 +680,7 @@ PHP_METHOD(HttpQueryString, offsetUnset) } static zend_function_entry php_http_querystring_methods[] = { - PHP_ME(HttpQueryString, __construct, ai_HttpQueryString___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR|ZEND_ACC_FINAL) + PHP_ME(HttpQueryString, __construct, ai_HttpQueryString___construct, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) PHP_ME(HttpQueryString, toArray, ai_HttpQueryString_toArray, ZEND_ACC_PUBLIC) PHP_ME(HttpQueryString, toString, ai_HttpQueryString_toString, ZEND_ACC_PUBLIC) diff --git a/src/php_http_url.c b/src/php_http_url.c index 71ca6e9..2055df7 100644 --- a/src/php_http_url.c +++ b/src/php_http_url.c @@ -2035,7 +2035,7 @@ PHP_METHOD(HttpUrl, toArray) } static zend_function_entry php_http_url_methods[] = { - PHP_ME(HttpUrl, __construct, ai_HttpUrl___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(HttpUrl, __construct, ai_HttpUrl___construct, ZEND_ACC_PUBLIC) PHP_ME(HttpUrl, mod, ai_HttpUrl_mod, ZEND_ACC_PUBLIC) PHP_ME(HttpUrl, toString, ai_HttpUrl_toString, ZEND_ACC_PUBLIC) ZEND_MALIAS(HttpUrl, __toString, toString, ai_HttpUrl_toString, ZEND_ACC_PUBLIC)