X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_message_object.h;h=1ff1362848b7b92ee274002f0a8dcb08c7900200;hp=1e95c7490f1f633ebacf46947b13f8981bb2170c;hb=e103c61ca14d22e9507379810e980075c8323ca3;hpb=d846c6b54ce494f8d6723d7c1442995a26b48485 diff --git a/php_http_message_object.h b/php_http_message_object.h index 1e95c74..1ff1362 100644 --- a/php_http_message_object.h +++ b/php_http_message_object.h @@ -30,8 +30,8 @@ typedef struct { extern zend_class_entry *http_message_object_ce; extern zend_function_entry http_message_object_fe[]; -#define http_message_object_init() _http_message_object_init(INIT_FUNC_ARGS_PASSTHRU) -extern void _http_message_object_init(INIT_FUNC_ARGS); +extern PHP_MINIT_FUNCTION(http_message_object); + #define http_message_object_new _http_message_object_new extern zend_object_value _http_message_object_new(zend_class_entry *ce TSRMLS_DC); #define http_message_object_new_ex(ce, msg) _http_message_object_new_ex(ce, msg TSRMLS_CC)