X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_response_object.h;h=757bc894a79d6c6663865236a43138980895240c;hp=60a5be011e96508ac1e2ee7e40cb9708db1ce7b9;hb=e103c61ca14d22e9507379810e980075c8323ca3;hpb=d846c6b54ce494f8d6723d7c1442995a26b48485 diff --git a/php_http_response_object.h b/php_http_response_object.h index 60a5be0..757bc89 100644 --- a/php_http_response_object.h +++ b/php_http_response_object.h @@ -26,8 +26,7 @@ extern zend_class_entry *http_response_object_ce; extern zend_function_entry http_response_object_fe[]; -#define http_response_object_init() _http_response_object_init(INIT_FUNC_ARGS_PASSTHRU) -extern void _http_response_object_init(INIT_FUNC_ARGS); +extern PHP_MINIT_FUNCTION(http_response_object); PHP_METHOD(HttpResponse, setHeader); PHP_METHOD(HttpResponse, getHeader);