X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=http_requestpool_object.c;h=58aec24d561a0cc4e52dcbbfc773d6a05799e313;hb=6be753a288ed7a42e0cd19551d85eb8eb14c4566;hp=dfb9c604f72f6d387f2209e491535f8a3abe1f74;hpb=712103ef11a9dfcc2495ce43e4a731d9b59d3439;p=m6w6%2Fext-http diff --git a/http_requestpool_object.c b/http_requestpool_object.c index dfb9c60..58aec24 100644 --- a/http_requestpool_object.c +++ b/http_requestpool_object.c @@ -94,10 +94,11 @@ zend_function_entry http_requestpool_object_fe[] = { }; static zend_object_handlers http_requestpool_object_handlers; -void _http_requestpool_object_init(INIT_FUNC_ARGS) +PHP_MINIT_FUNCTION(http_requestpool_object) { HTTP_REGISTER_CLASS_EX(HttpRequestPool, http_requestpool_object, NULL, 0); zend_class_implements(http_requestpool_object_ce TSRMLS_CC, 1, zend_ce_iterator); + return SUCCESS; } zend_object_value _http_requestpool_object_new(zend_class_entry *ce TSRMLS_DC)