X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_request_object.h;h=5959dbd4cb4e3219ba59e422759bbb5ec83b3b46;hp=17a9fb46b1e1ed29bb3300a0cac8539e57b21971;hb=5c5ddf9042732a05100245844fe2fb70bfe6d495;hpb=31d0ecaa361b6a186391f48d566e9b1de36b1099 diff --git a/php_http_request_object.h b/php_http_request_object.h index 17a9fb4..5959dbd 100644 --- a/php_http_request_object.h +++ b/php_http_request_object.h @@ -42,8 +42,8 @@ typedef struct { extern zend_class_entry *http_request_object_ce; extern zend_function_entry http_request_object_fe[]; -#define http_request_object_init() _http_request_object_init(INIT_FUNC_ARGS_PASSTHRU) -extern void _http_request_object_init(INIT_FUNC_ARGS); +extern PHP_MINIT_FUNCTION(http_request_object); + #define http_request_object_new _http_request_object_new extern zend_object_value _http_request_object_new(zend_class_entry *ce TSRMLS_DC); #define http_request_object_free _http_request_object_free