cvs: php-src /ext/spl spl_engine.c spl_engine.h
| From: | Marcus Boerger | Date: | Sat, 04 Mar 2006 16:32:59 +0000 |
| Subject: | cvs: php-src /ext/spl spl_engine.c spl_engine.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37106@lists.php.net to get a copy of this message | ||
helly Sat Mar 4 16:32:59 2006 UTC
Modified files:
/php-src/ext/spl spl_engine.c spl_engine.h
Log:
- Drop dead code
http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_engine.c?r1=1.21&r2=1.22&diff_format=u
Index: php-src/ext/spl/spl_engine.c
diff -u php-src/ext/spl/spl_engine.c:1.21 php-src/ext/spl/spl_engine.c:1.22
--- php-src/ext/spl/spl_engine.c:1.21 Sun Jan 1 13:09:54 2006
+++ php-src/ext/spl/spl_engine.c Sat Mar 4 16:32:59 2006
@@ -43,20 +43,6 @@
}
/* }}} */
-/* {{{ spl_is_instance_of */
-int spl_is_instance_of(zval **obj, zend_class_entry *ce TSRMLS_DC)
-{
- /* Ensure everything needed is available before checking for the type.
- */
- zend_class_entry *instance_ce;
-
- if (obj && (instance_ce = spl_get_class_entry(*obj TSRMLS_CC)) != NULL) {
- return instanceof_function(instance_ce, ce TSRMLS_CC);
- }
- return 0;
-}
-/* }}} */
-
/*
* Local variables:
* tab-width: 4
http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_engine.h?r1=1.21&r2=1.22&diff_format=u
Index: php-src/ext/spl/spl_engine.h
diff -u php-src/ext/spl/spl_engine.h:1.21 php-src/ext/spl/spl_engine.h:1.22
--- php-src/ext/spl/spl_engine.h:1.21 Tue Feb 21 20:12:42 2006
+++ php-src/ext/spl/spl_engine.h Sat Mar 4 16:32:59 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_engine.h,v 1.21 2006/02/21 20:12:42 dmitry Exp $ */
+/* $Id: spl_engine.h,v 1.22 2006/03/04 16:32:59 helly Exp $ */
#ifndef SPL_ENGINE_H
#define SPL_ENGINE_H
@@ -60,8 +60,6 @@
}
/* }}} */
-int spl_is_instance_of(zval **obj, zend_class_entry *ce TSRMLS_DC);
-
#endif /* SPL_ENGINE_H */
/*