Generate ext/intl class entries from stubs

Closes GH-6670
This commit is contained in:
Máté Kocsis 2021-02-05 20:57:57 +01:00
parent 99b08ac281
commit c6723728df
No known key found for this signature in database
GPG key ID: FD055E41728BF310
44 changed files with 276 additions and 157 deletions

View file

@ -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};