X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_object.c;h=3244161e2bd6e6556c24a287f409a1f4f8d8aaae;hp=479e0b699978fcffd017a281be207d28ad1995af;hb=dfe2dbf042d42f83255b6ff46c2210bcd57ca586;hpb=e0d6c52bd402a3b89024512bab676504b7153ba9 diff --git a/http_request_object.c b/http_request_object.c index 479e0b6..3244161 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -298,9 +298,10 @@ zend_function_entry http_request_object_fe[] = { }; static zend_object_handlers http_request_object_handlers; -void _http_request_object_init(INIT_FUNC_ARGS) +PHP_MINIT_FUNCTION(http_request_object) { HTTP_REGISTER_CLASS_EX(HttpRequest, http_request_object, NULL, 0); + return SUCCESS; } zend_object_value _http_request_object_new(zend_class_entry *ce TSRMLS_DC)