- Fixed build on php-trunk
[m6w6/ext-http] / php_http_exception_object.h
index 9cf42cb83b22b9e3db6d98b70ee01333c732a259..df89e4f34dcdff111a59785cac64c55319e6f3d2 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2004-2006, Michael Wallner <mike@php.net>            |
+    | Copyright (c) 2004-2010, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
@@ -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