stas            Mon Jul  6 23:48:27 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/intl/idn       idn.c 
  Log:
  fix protos
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/idn/idn.c?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/intl/idn/idn.c
diff -u php-src/ext/intl/idn/idn.c:1.1.2.2 php-src/ext/intl/idn/idn.c:1.1.2.3
--- php-src/ext/intl/idn/idn.c:1.1.2.2  Sun May 10 13:26:38 2009
+++ php-src/ext/intl/idn/idn.c  Mon Jul  6 23:48:27 2009
@@ -15,7 +15,7 @@
    | Author: Pierre A. Joye <pie...@php.net>                              |
    +----------------------------------------------------------------------+
  */
-/* $Id: idn.c,v 1.1.2.2 2009/05/10 13:26:38 bjori Exp $ */
+/* $Id: idn.c,v 1.1.2.3 2009/07/06 23:48:27 stas Exp $ */
 
 /* {{{ includes */
 #ifdef HAVE_CONFIG_H
@@ -67,7 +67,7 @@
        UChar     converted[MAXPATHLEN];
        int32_t   converted_ret_len;
 
-       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", (char 
**)&domain, &domain_len, &option, &status) == FAILURE) {
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", (char 
**)&domain, &domain_len, &option) == FAILURE) {
                return;
        }
 
@@ -121,8 +121,8 @@
        RETURN_STRINGL(((char *)converted_utf8), converted_utf8_len, 0);
 }
 
-/* {{{ proto int idn_to_ascii(string domain[, int options [, int status]])
-   Converts a UTF-8 domain to ASCII, as defined in the IDNA RFC */
+/* {{{ proto int idn_to_ascii(string domain[, int options])
+   Converts an Unicode domain to ASCII representation, as defined in the IDNA 
RFC */
 PHP_FUNCTION(idn_to_ascii)
 {
        php_intl_idn_to(INTERNAL_FUNCTION_PARAM_PASSTHRU, INTL_IDN_TO_ASCII);
@@ -130,8 +130,8 @@
 /* }}} */
 
 
-/* {{{ proto int idn_to_utf8(string domain[, int options[, int status]])
-   Converts a UTF-8 domain to ASCII, as defined in the IDNA RFC */
+/* {{{ proto int idn_to_utf8(string domain[, int options])
+   Converts an ASCII representation of the domain to Unicode (UTF-8), as 
defined in the IDNA RFC */
 PHP_FUNCTION(idn_to_utf8)
 {
        php_intl_idn_to(INTERNAL_FUNCTION_PARAM_PASSTHRU, INTL_IDN_TO_UTF8);



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

Reply via email to