Fix protos.

This commit is contained in:
Andrei Zmievski 2006-09-21 19:30:33 +00:00
parent 1d8677bbd4
commit 2fb8461016
2 changed files with 4 additions and 5 deletions

View file

@ -18,8 +18,8 @@
#include "php_unicode.h" #include "php_unicode.h"
/* {{{ proto string str_transliterate(string str, string from, string to[, string variant]) U /* {{{ proto string str_transliterate(string str, string from_script, string to_script[, string variant]) U
Transliterate a string using the alphabet provided */ Transliterate a string from the source script to the target script */
PHP_FUNCTION(str_transliterate) PHP_FUNCTION(str_transliterate)
{ {
UChar *str, *from, *to, *variant = NULL; UChar *str, *from, *to, *variant = NULL;

View file

@ -233,7 +233,7 @@ PHP_FUNCTION(unicode_get_subst_char)
/* }}} */ /* }}} */
/* {{{ proto callback unicode_set_error_handler(callback new_callback) U /* {{{ proto callback unicode_set_error_handler(callback new_callback) U
Set (or clear) the unicode conversion error handler */ Set (or clear) the custom Unicode conversion error handler */
PHP_FUNCTION(unicode_set_error_handler) PHP_FUNCTION(unicode_set_error_handler)
{ {
zval *error_handler; zval *error_handler;
@ -279,8 +279,7 @@ PHP_FUNCTION(unicode_set_error_handler)
/* }}} */ /* }}} */
/* {{{ proto bool unicode_restore_error_handler(void) U /* {{{ proto bool unicode_restore_error_handler(void) U
Restores the active error handler to the one which was previously active Restores the active error handler to the one which was previously active (before the last unicode_set_error_handler() call) */
(Before the last unicode_set_error_handler() call) */
PHP_FUNCTION(unicode_restore_error_handler) PHP_FUNCTION(unicode_restore_error_handler)
{ {
if (UG(conv_error_handler)) { if (UG(conv_error_handler)) {