- example fixup
[m6w6/ext-http] / php_http_exception_object.h
index e89c576244ec158a91df9e5430f859376c256ad1..f309035429a44fd78bc1717ae9cbc01098cbc553 100644 (file)
 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
+#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();
 
+#define http_exception_get_for_code(c) _http_exception_get_for_code(c)
+extern zend_class_entry *_http_exception_get_for_code(long code);
+
 #endif
 #endif