summaryrefslogtreecommitdiff
path: root/ext/intl/intl_error.h
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-01-08 18:41:53 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-01-08 18:41:53 +0000
commit10324891f81ffa155cd563c3a21bebdafc47ad3d (patch)
tree535a604872bd9785f6a2b4b92d636f4f1d965cb1 /ext/intl/intl_error.h
parent2651a1fc39813533e8aa6e6afe163d8126c685ca (diff)
downloadphp-git-10324891f81ffa155cd563c3a21bebdafc47ad3d.tar.gz
- Added the ability for the intl exception to throw exceptions when a global error is set.
Diffstat (limited to 'ext/intl/intl_error.h')
-rwxr-xr-xext/intl/intl_error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/intl/intl_error.h b/ext/intl/intl_error.h
index 3adae85474..b5000a15de 100755
--- a/ext/intl/intl_error.h
+++ b/ext/intl/intl_error.h
@@ -44,4 +44,7 @@ void intl_errors_set_custom_msg( intl_error* err, char* msg, int copyMsg
void intl_errors_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC );
void intl_errors_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC );
+// exported to be called on extension MINIT
+void intl_register_IntlException_class( TSRMLS_D );
+
#endif // INTL_ERROR_H