andrei          Thu Jun 15 17:37:48 2006 UTC

  Modified files:              
    /php-src/ext/unicode        php_transform.h transform.c unicode.c 
  Log:
  Rename to str_transliterate().
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/unicode/php_transform.h?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/unicode/php_transform.h
diff -u php-src/ext/unicode/php_transform.h:1.1 
php-src/ext/unicode/php_transform.h:1.2
--- php-src/ext/unicode/php_transform.h:1.1     Tue Jun 13 23:46:04 2006
+++ php-src/ext/unicode/php_transform.h Thu Jun 15 17:37:48 2006
@@ -14,12 +14,12 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_transform.h,v 1.1 2006/06/13 23:46:04 andrei Exp $ */ 
+/* $Id: php_transform.h,v 1.2 2006/06/15 17:37:48 andrei Exp $ */ 
 
 #ifndef PHP_TRANSFORM_H
 #define PHP_TRANSFORM_H
 
-PHP_FUNCTION(transliterate);
+PHP_FUNCTION(str_transliterate);
 
 #endif /* PHP_TRANSFORM_H */
 
http://cvs.php.net/viewcvs.cgi/php-src/ext/unicode/transform.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/unicode/transform.c
diff -u php-src/ext/unicode/transform.c:1.2 php-src/ext/unicode/transform.c:1.3
--- php-src/ext/unicode/transform.c:1.2 Thu Jun 15 10:03:52 2006
+++ php-src/ext/unicode/transform.c     Thu Jun 15 17:37:48 2006
@@ -14,11 +14,11 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: transform.c,v 1.2 2006/06/15 10:03:52 dmitry Exp $ */ 
+/* $Id: transform.c,v 1.3 2006/06/15 17:37:48 andrei Exp $ */ 
 
 #include "php_unicode.h"
 
-PHP_FUNCTION(transliterate)
+PHP_FUNCTION(str_transliterate)
 {
        UChar      *str, *from, *to, *variant = NULL;
        int                     str_len, from_len, to_len, variant_len = 0;
@@ -30,26 +30,6 @@
        UErrorCode      status = U_ZERO_ERROR;
        int32_t         capacity, start, limit;
 
-       /*
-       {
-
-               char *str;
-               int32_t str_len;
-               UEnumeration *ids;
-
-               ids = utrans_openIDs(&status);
-               printf("%d\n", uenum_count(ids, &status));
-               str = (char*)uenum_next(ids, &str_len, &status);
-               while (str) {
-                       printf("id: %s\n", str);
-                       str = (char*)uenum_next(ids, &str_len, &status);
-               }
-               uenum_close(ids);
-       }
-
-       return;
-       */
-
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "uuu|u", &str,
                                                          &str_len, &from, 
&from_len, &to, &to_len,
                                                          &variant, 
&variant_len) == FAILURE) {
http://cvs.php.net/viewcvs.cgi/php-src/ext/unicode/unicode.c?r1=1.35&r2=1.36&diff_format=u
Index: php-src/ext/unicode/unicode.c
diff -u php-src/ext/unicode/unicode.c:1.35 php-src/ext/unicode/unicode.c:1.36
--- php-src/ext/unicode/unicode.c:1.35  Tue Jun 13 23:46:04 2006
+++ php-src/ext/unicode/unicode.c       Thu Jun 15 17:37:48 2006
@@ -15,7 +15,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: unicode.c,v 1.35 2006/06/13 23:46:04 andrei Exp $ */ 
+/* $Id: unicode.c,v 1.36 2006/06/15 17:37:48 andrei Exp $ */ 
 
 #include "php_unicode.h"
 #include "zend_unicode.h"
@@ -301,7 +301,7 @@
 
        /* text transformation functions */
 
-       PHP_FE(transliterate, NULL)
+       PHP_FE(str_transliterate, NULL)
 
        { NULL, NULL, NULL }
 };

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

Reply via email to