mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Generate ext/intl class entries from stubs
Closes GH-6670
This commit is contained in:
parent
99b08ac281
commit
c6723728df
44 changed files with 276 additions and 157 deletions
|
@ -203,17 +203,6 @@ void intl_errors_set_code( intl_error* err, UErrorCode err_code )
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
void intl_register_IntlException_class( void )
|
||||
{
|
||||
zend_class_entry ce;
|
||||
|
||||
/* Create and register 'IntlException' class. */
|
||||
INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL );
|
||||
IntlException_ce_ptr = zend_register_internal_class_ex( &ce,
|
||||
zend_ce_exception );
|
||||
IntlException_ce_ptr->create_object = zend_ce_exception->create_object;
|
||||
}
|
||||
|
||||
smart_str intl_parse_error_to_string( UParseError* pe )
|
||||
{
|
||||
smart_str ret = {0};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue