andrei          Sun Mar 26 03:33:10 2006 UTC

  Modified files:              
    /php-src/ext/unicode        unicode.c 
  Log:
  Add protos.
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/unicode/unicode.c?r1=1.13&r2=1.14&diff_format=u
Index: php-src/ext/unicode/unicode.c
diff -u php-src/ext/unicode/unicode.c:1.13 php-src/ext/unicode/unicode.c:1.14
--- php-src/ext/unicode/unicode.c:1.13  Sun Mar 26 01:48:33 2006
+++ php-src/ext/unicode/unicode.c       Sun Mar 26 03:33:10 2006
@@ -15,7 +15,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: unicode.c,v 1.13 2006/03/26 01:48:33 andrei Exp $ */ 
+/* $Id: unicode.c,v 1.14 2006/03/26 03:33:10 andrei Exp $ */ 
 
 #include "php_unicode.h"
 #if HAVE_UNICODE
@@ -23,7 +23,7 @@
 
 void php_register_unicode_iterators(TSRMLS_D);
 
-/* {{{ proto unicode unicode_decode(string input, string encoding)
+/* {{{ proto unicode unicode_decode(string input, string encoding) U
    Takes a string in the source encoding and converts it to a UTF-16 unicode 
string, returning the result */
 static PHP_FUNCTION(unicode_decode)
 {
@@ -68,15 +68,15 @@
 }
 /* }}} */
 
-/* {{{ proto bool unicode_semantics()
-   Check whether unicode semantics is enabled */
+/* {{{ proto bool unicode_semantics() U
+   Check whether unicode semantics are enabled */
 static PHP_FUNCTION(unicode_semantics)
 {
        RETURN_BOOL(UG(unicode));
 }
 /* }}} */
 
-/* {{{ proto string unicode_encode(unicode input, string encoding)
+/* {{{ proto string unicode_encode(unicode input, string encoding) U
    Takes a unicode string and converts it to a string in the specified 
encoding */
 static PHP_FUNCTION(unicode_encode)
 {
@@ -112,6 +112,8 @@
 }
 /* }}} */
 
+/* {{{ proto bool unicode_set_error_mode(int direction, int mode) U
+   Sets global conversion error mode for the specified conversion direction */
 PHP_FUNCTION(unicode_set_error_mode)
 {
        zend_conv_direction direction;
@@ -139,7 +141,10 @@
        zend_update_converters_error_behavior(TSRMLS_C);
        RETURN_TRUE;
 }
+/* }}} */
 
+/* {{{ proto bool unicode_set_subst_char(int direction, string character) U
+   Sets global substitution character for the specified conversion direction */
 PHP_FUNCTION(unicode_set_subst_char)
 {
        zend_conv_direction direction;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to