mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Backfill protos for ext/unicode functions
This commit is contained in:
parent
7ff8b9b090
commit
67af7e225c
4 changed files with 172 additions and 1 deletions
|
@ -232,6 +232,8 @@ PHP_FUNCTION(unicode_get_subst_char)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto callback unicode_set_error_handler(callback new_callback) U
|
||||
Set (or clear) the unicode conversion error handler */
|
||||
PHP_FUNCTION(unicode_set_error_handler)
|
||||
{
|
||||
zval *error_handler;
|
||||
|
@ -274,7 +276,11 @@ PHP_FUNCTION(unicode_set_error_handler)
|
|||
RETURN_NULL();
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto bool unicode_restore_error_handler(void) U
|
||||
Restores the active error handler to the one which was previously active
|
||||
(Before the last unicode_set_error_handler() call) */
|
||||
PHP_FUNCTION(unicode_restore_error_handler)
|
||||
{
|
||||
if (UG(conv_error_handler)) {
|
||||
|
@ -291,6 +297,7 @@ PHP_FUNCTION(unicode_restore_error_handler)
|
|||
}
|
||||
RETURN_TRUE;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ unicode_functions[] */
|
||||
zend_function_entry unicode_functions[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue