diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-01-08 18:41:53 +0000 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-01-08 18:41:53 +0000 |
commit | 10324891f81ffa155cd563c3a21bebdafc47ad3d (patch) | |
tree | 535a604872bd9785f6a2b4b92d636f4f1d965cb1 /ext/intl/intl_error.h | |
parent | 2651a1fc39813533e8aa6e6afe163d8126c685ca (diff) | |
download | php-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-x | ext/intl/intl_error.h | 3 |
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 |