helly           Sat Dec  6 15:14:46 2008 UTC

  Modified files:              
    /php-src/ext/spl    spl_engine.h 
  Log:
  - Drop dead code
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_engine.h?r1=1.27&r2=1.28&diff_format=u
Index: php-src/ext/spl/spl_engine.h
diff -u php-src/ext/spl/spl_engine.h:1.27 php-src/ext/spl/spl_engine.h:1.28
--- php-src/ext/spl/spl_engine.h:1.27   Fri Jun  6 23:53:10 2008
+++ php-src/ext/spl/spl_engine.h        Sat Dec  6 15:14:46 2008
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_engine.h,v 1.27 2008/06/06 23:53:10 colder Exp $ */
+/* $Id: spl_engine.h,v 1.28 2008/12/06 15:14:46 helly Exp $ */
 
 #ifndef SPL_ENGINE_H
 #define SPL_ENGINE_H
@@ -26,17 +26,6 @@
 #include "zend_interfaces.h"
 #include "zend_unicode.h"
 
-/* {{{ zend_class_entry */
-static inline zend_class_entry *spl_get_class_entry(zval *obj TSRMLS_DC)
-{
-       if (obj && Z_TYPE_P(obj) == IS_OBJECT && 
Z_OBJ_HT_P(obj)->get_class_entry) {
-               return Z_OBJ_HT_P(obj)->get_class_entry(obj TSRMLS_CC);
-       } else {
-               return NULL;
-       }
-}
-/* }}} */
-
 PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc 
TSRMLS_DC);
 
 PHPAPI long spl_offset_convert_to_long(zval *offset TSRMLS_DC);



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

Reply via email to