zeev Sun Dec 18 15:41:22 2005 EDT
Modified files:
/php-src/ext/spl php_spl.c
Log:
Prototype fixes (MFB)
http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/php_spl.c?r1=1.78&r2=1.79&diff_format=u
Index: php-src/ext/spl/php_spl.c
diff -u php-src/ext/spl/php_spl.c:1.78 php-src/ext/spl/php_spl.c:1.79
--- php-src/ext/spl/php_spl.c:1.78 Sat Dec 17 00:09:06 2005
+++ php-src/ext/spl/php_spl.c Sun Dec 18 15:41:22 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_spl.c,v 1.78 2005/12/17 00:09:06 helly Exp $ */
+/* $Id: php_spl.c,v 1.79 2005/12/18 15:41:22 zeev Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -81,7 +81,7 @@
return *ce;
}
-/* {{{ array class_parents(object instance)
+/* {{{ proto array class_parents(object instance)
Return an array containing the names of all parent classes */
PHP_FUNCTION(class_parents)
{
@@ -246,7 +246,7 @@
return 0;
} /* }}} */
-/* {{{ void spl_autoload(string class_name [, string file_extensions])
+/* {{{ proto void spl_autoload(string class_name [, string file_extensions])
Default implementation for __autoload() */
PHP_FUNCTION(spl_autoload)
{
@@ -302,7 +302,7 @@
}
} /* }}} */
-/* {{{ void string spl_autoload_extensions([string file_extensions])
+/* {{{ proto void string spl_autoload_extensions([string file_extensions])
Register and return default file extensions for spl_autoload */
PHP_FUNCTION(spl_autoload_extensions)
{
@@ -336,7 +336,7 @@
}
}
-/* {{{ void spl_autoload_call(string class_name)
+/* {{{ proto void spl_autoload_call(string class_name)
Try all registerd autoload function to load the requested class */
PHP_FUNCTION(spl_autoload_call)
{
@@ -374,7 +374,7 @@
}
} /* }}} */
-/* {{{ void spl_autoload_register([string autoload_function = "spl_autoload"
[, throw = true]])
+/* {{{ proto void spl_autoload_register([string autoload_function =
"spl_autoload" [, throw = true]])
Register given function as __autoload() implementation */
PHP_FUNCTION(spl_autoload_register)
{
@@ -479,7 +479,7 @@
}
} /* }}} */
-/* {{{ bool spl_autoload_unregister(string autoload_function)
+/* {{{ proto bool spl_autoload_unregister(string autoload_function)
Unregister given function as __autoload() implementation */
PHP_FUNCTION(spl_autoload_unregister)
{
@@ -523,7 +523,7 @@
RETURN_BOOL(success == SUCCESS);
} /* }}} */
-/* {{{ false|array spl_autoload_functions()
+/* {{{ proto false|array spl_autoload_functions()
Return all registered __autoload() functionns */
PHP_FUNCTION(spl_autoload_functions)
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php