- use PHP macros, so that it is obvious when to call what
[m6w6/ext-http] / php_http_util_object.h
index 414cc8ee67b681396674a36755d9c63c814fafee..53dcb5a5c13bffe68ed4555c67dde9ee13f6783b 100644 (file)
@@ -22,8 +22,7 @@
 extern zend_class_entry *http_util_object_ce;
 extern zend_function_entry http_util_object_fe[];
 
-#define http_util_object_init() _http_util_object_init(INIT_FUNC_ARGS_PASSTHRU)
-extern void _http_util_object_init(INIT_FUNC_ARGS);
+extern PHP_MINIT_FUNCTION(http_util_object);
 
 PHP_METHOD(HttpUtil, date);
 PHP_METHOD(HttpUtil, absoluteUri);