X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_exception_object.h;h=f309035429a44fd78bc1717ae9cbc01098cbc553;hp=e89c576244ec158a91df9e5430f859376c256ad1;hb=b562e34cf4f8c8fae7b8fe773e0eed71592b09c2;hpb=3a658eda7fbc2ad5c8d2534ae69c4683266dab95 diff --git a/php_http_exception_object.h b/php_http_exception_object.h index e89c576..f309035 100644 --- a/php_http_exception_object.h +++ b/php_http_exception_object.h @@ -22,12 +22,15 @@ 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