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=4c47eabee60a0266f3f27bf91528830b32da842e;hpb=a673ef718611fe1a7c8a4c61b2f4c97fc06efc2d 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);