- use PHP macros, so that it is obvious when to call what
[m6w6/ext-http] / php_http_exception_object.h
index f309035429a44fd78bc1717ae9cbc01098cbc553..c3804c2e1928f5f6855884edaef217a3d3462619 100644 (file)
 #define PHP_HTTP_EXCEPTION_OBJECT_H
 #ifdef ZEND_ENGINE_2
 
+PHP_MINIT_FUNCTION(http_exception_object);
+
 extern zend_class_entry *http_exception_object_ce;
 extern zend_function_entry http_exception_object_fe[];
 
-#define http_exception_object_init() _http_exception_object_init(INIT_FUNC_ARGS_PASSTHRU)
-extern void _http_exception_object_init(INIT_FUNC_ARGS);
-
 #define http_exception_get_default _http_exception_get_default
 extern zend_class_entry *_http_exception_get_default();