andrei          Fri Sep 22 19:50:02 2006 UTC

  Modified files:              
    /php-src/ext/unicode        collator.c 
  Log:
  Fix protos.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/unicode/collator.c?r1=1.9&r2=1.10&diff_format=u
Index: php-src/ext/unicode/collator.c
diff -u php-src/ext/unicode/collator.c:1.9 php-src/ext/unicode/collator.c:1.10
--- php-src/ext/unicode/collator.c:1.9  Thu Sep 21 18:26:31 2006
+++ php-src/ext/unicode/collator.c      Fri Sep 22 19:50:02 2006
@@ -14,7 +14,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: collator.c,v 1.9 2006/09/21 18:26:31 andrei Exp $ */
+/* $Id: collator.c,v 1.10 2006/09/22 19:50:02 andrei Exp $ */
 
 #include "php.h"
 #include "ext/standard/php_array.h"
@@ -198,7 +198,9 @@
 }
 /* }}} */
 
-/* {{{ proto int collator_compare(Collator coll, string elementA, string 
elementB) U
+/* {{{ proto int Collator::compare(string str1, string str2) U
+   Compare two strings using collation */
+/* {{{ proto int collator_compare(Collator coll, string str1, string str2) U
    Compare two strings using collation */
 PHP_FUNCTION(collator_compare)
 {
@@ -215,7 +217,9 @@
 }
 /* }}} */
 
-/* {{{ proto array collator_sort(Collator coll, array initialarray) U
+/* {{{ proto array Collator::sort(array input) U
+   Sort an array using collation */
+/* {{{ proto array collator_sort(Collator coll, array input) U
    Sort an array using collation */
 PHP_FUNCTION(collator_sort)
 {
@@ -243,6 +247,8 @@
 }
 /* }}} */
 
+/* {{{ proto void Collator::set_strength(int strength) U
+   Set the collation strength */
 /* {{{ proto void collator_set_strength(Collator coll, int strength) U
    Set the collation strength */
 PHP_FUNCTION(collator_set_strength)
@@ -259,6 +265,8 @@
 }
 /* }}} */
 
+/* {{{ proto int Collator::get_strength() U
+   Returns the current collation strength */
 /* {{{ proto int collator_get_strength(Collator coll) U
    Returns the current collation strength */
 PHP_FUNCTION(collator_get_strength)
@@ -274,6 +282,8 @@
 }
 /* }}} */
 
+/* {{{ proto bool Collator::set_attribute(int attribute, int value) U
+   Set a collation attribute */
 /* {{{ proto bool collator_set_attribute(Collator coll, int attribute, int 
value) U
    Set a collation attribute */
 PHP_FUNCTION(collator_set_attribute)
@@ -294,6 +304,8 @@
 /* }}} */
 
 
+/* {{{ proto int Collator::get_attribute(int attribute) U
+   Returns a collation attribute */
 /* {{{ proto int collator_get_attribute(Collator coll, int attribute) U
    Returns a collation attribute */
 PHP_FUNCTION(collator_get_attribute)

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

Reply via email to