X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_exception_object.h;h=9afaaf717aac44e65d4a55e11561fdf82e25c576;hp=241b96cf38c57a60631b5bde8a89b4241a53bc9c;hb=a0c54cae89e6c61a7f76037aa891898e6bd86e15;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f diff --git a/php_http_exception_object.h b/php_http_exception_object.h index 241b96c..9afaaf7 100644 --- a/php_http_exception_object.h +++ b/php_http_exception_object.h @@ -24,7 +24,6 @@ PHP_MINIT_FUNCTION(http_exception_object); #define HTTP_EX_CE(name) http_ ##name## _exception_object_ce extern zend_class_entry *http_exception_object_ce; -extern zend_function_entry http_exception_object_fe[]; extern zend_class_entry *HTTP_EX_CE(runtime); extern zend_class_entry *HTTP_EX_CE(header); extern zend_class_entry *HTTP_EX_CE(malformed_headers); @@ -37,6 +36,7 @@ extern zend_class_entry *HTTP_EX_CE(request_pool); extern zend_class_entry *HTTP_EX_CE(socket); extern zend_class_entry *HTTP_EX_CE(response); extern zend_class_entry *HTTP_EX_CE(url); +extern zend_function_entry http_exception_object_fe[]; #define http_exception_get_default _http_exception_get_default extern zend_class_entry *_http_exception_get_default(); @@ -44,6 +44,8 @@ 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); +PHP_METHOD(HttpException, __toString); + #endif #endif