cvs: php-src /ext/spl php_spl.c spl_functions.c spl_functions.h spl_iterators.c
| From: | Jani Taskinen | Date: | Tue, 06 Dec 2005 02:00:09 +0000 |
| Subject: | cvs: php-src /ext/spl php_spl.c spl_functions.c spl_functions.h spl_iterators.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-35717@lists.php.net to get a copy of this message | ||
sniper Mon Dec 5 21:00:09 2005 EDT
Modified files:
/php-src/ext/spl php_spl.c spl_functions.c spl_functions.h
spl_iterators.c
Log:
- function_entry -> zend_function_entry (php3 legacy!)
http://cvs.php.net/diff.php/php-src/ext/spl/php_spl.c?r1=1.76&r2=1.77&ty=u
Index: php-src/ext/spl/php_spl.c
diff -u php-src/ext/spl/php_spl.c:1.76 php-src/ext/spl/php_spl.c:1.77
--- php-src/ext/spl/php_spl.c:1.76 Sun Nov 20 10:21:23 2005
+++ php-src/ext/spl/php_spl.c Mon Dec 5 21:00:06 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_spl.c,v 1.76 2005/11/20 15:21:23 johannes Exp $ */
+/* $Id: php_spl.c,v 1.77 2005/12/06 02:00:06 sniper Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -45,7 +45,7 @@
/* {{{ spl_functions_none
*/
-function_entry spl_functions_none[] = {
+zend_function_entry spl_functions_none[] = {
{NULL, NULL, NULL}
};
/* }}} */
@@ -599,7 +599,7 @@
/* {{{ spl_functions
*/
-function_entry spl_functions[] = {
+zend_function_entry spl_functions[] = {
PHP_FE(spl_classes, NULL)
PHP_FE(spl_autoload, NULL)
PHP_FE(spl_autoload_extensions, NULL)
http://cvs.php.net/diff.php/php-src/ext/spl/spl_functions.c?r1=1.32&r2=1.33&ty=u
Index: php-src/ext/spl/spl_functions.c
diff -u php-src/ext/spl/spl_functions.c:1.32 php-src/ext/spl/spl_functions.c:1.33
--- php-src/ext/spl/spl_functions.c:1.32 Tue Aug 23 05:33:45 2005
+++ php-src/ext/spl/spl_functions.c Mon Dec 5 21:00:07 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_functions.c,v 1.32 2005/08/23 09:33:45 dmitry Exp $ */
+/* $Id: spl_functions.c,v 1.33 2005/12/06 02:00:07 sniper Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -36,7 +36,7 @@
/* }}} */
/* {{{ spl_register_interface */
-void spl_register_interface(zend_class_entry ** ppce, char * class_name, zend_function_entry
*functions TSRMLS_DC)
+void spl_register_interface(zend_class_entry ** ppce, char * class_name, zend_function_entry *
functions TSRMLS_DC)
{
zend_class_entry ce;
@@ -50,7 +50,7 @@
/* }}} */
/* {{{ spl_register_std_class */
-void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor,
function_entry * function_list TSRMLS_DC)
+void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor,
zend_function_entry * function_list TSRMLS_DC)
{
zend_class_entry ce;
@@ -66,7 +66,7 @@
/* }}} */
/* {{{ spl_register_sub_class */
-void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char *
class_name, void *obj_ctor, function_entry * function_list TSRMLS_DC)
+void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char *
class_name, void *obj_ctor, zend_function_entry * function_list TSRMLS_DC)
{
zend_class_entry ce;
@@ -91,7 +91,7 @@
/* }}} */
/* {{{ spl_register_functions */
-void spl_register_functions(zend_class_entry * class_entry, function_entry * function_list
TSRMLS_DC)
+void spl_register_functions(zend_class_entry * class_entry, zend_function_entry * function_list
TSRMLS_DC)
{
zend_register_functions(class_entry, function_list, &class_entry->function_table,
MODULE_PERSISTENT TSRMLS_CC);
}
http://cvs.php.net/diff.php/php-src/ext/spl/spl_functions.h?r1=1.21&r2=1.22&ty=u
Index: php-src/ext/spl/spl_functions.h
diff -u php-src/ext/spl/spl_functions.h:1.21 php-src/ext/spl/spl_functions.h:1.22
--- php-src/ext/spl/spl_functions.h:1.21 Wed Sep 14 23:31:36 2005
+++ php-src/ext/spl/spl_functions.h Mon Dec 5 21:00:07 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_functions.h,v 1.21 2005/09/15 03:31:36 helly Exp $ */
+/* $Id: spl_functions.h,v 1.22 2005/12/06 02:00:07 sniper Exp $ */
#ifndef PHP_FUNCTIONS_H
#define PHP_FUNCTIONS_H
@@ -57,13 +57,13 @@
void spl_destroy_class(zend_class_entry ** ppce);
-void spl_register_std_class(zend_class_entry ** ppce, char * class_name, create_object_func_t ctor,
function_entry * function_list TSRMLS_DC);
-void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char *
class_name, create_object_func_t ctor, function_entry * function_list TSRMLS_DC);
+void spl_register_std_class(zend_class_entry ** ppce, char * class_name, create_object_func_t ctor,
zend_function_entry * function_list TSRMLS_DC);
+void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char *
class_name, create_object_func_t ctor, zend_function_entry * function_list TSRMLS_DC);
void spl_register_interface(zend_class_entry ** ppce, char * class_name, zend_function_entry
*functions TSRMLS_DC);
void spl_register_parent_ce(zend_class_entry * class_entry, zend_class_entry * parent_class
TSRMLS_DC);
-void spl_register_functions(zend_class_entry * class_entry, function_entry * function_list
TSRMLS_DC);
+void spl_register_functions(zend_class_entry * class_entry, zend_function_entry * function_list
TSRMLS_DC);
void spl_register_property( zend_class_entry * class_entry, char *prop_name, zval *prop_val, int
prop_flags TSRMLS_DC);
/* sub: whether to allow subclasses/interfaces
http://cvs.php.net/diff.php/php-src/ext/spl/spl_iterators.c?r1=1.98&r2=1.99&ty=u
Index: php-src/ext/spl/spl_iterators.c
diff -u php-src/ext/spl/spl_iterators.c:1.98 php-src/ext/spl/spl_iterators.c:1.99
--- php-src/ext/spl/spl_iterators.c:1.98 Mon Dec 5 15:08:19 2005
+++ php-src/ext/spl/spl_iterators.c Mon Dec 5 21:00:07 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_iterators.c,v 1.98 2005/12/05 20:08:19 stas Exp $ */
+/* $Id: spl_iterators.c,v 1.99 2005/12/06 02:00:07 sniper Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -56,7 +56,7 @@
PHPAPI zend_class_entry *spl_ce_RegExIterator;
PHPAPI zend_class_entry *spl_ce_RecursiveRegExIterator;
-function_entry spl_funcs_RecursiveIterator[] = {
+zend_function_entry spl_funcs_RecursiveIterator[] = {
SPL_ABSTRACT_ME(RecursiveIterator, hasChildren, NULL)
SPL_ABSTRACT_ME(RecursiveIterator, getChildren, NULL)
{NULL, NULL, NULL}