Browse Source

- Drop dead code

migration/RELEASE_1_0_0
Marcus Boerger 21 years ago
parent
commit
d350e2949a
  1. 14
      ext/spl/spl_engine.c
  2. 2
      ext/spl/spl_engine.h

14
ext/spl/spl_engine.c

@ -43,20 +43,6 @@ void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC)
}
/* }}} */
/* {{{ 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

2
ext/spl/spl_engine.h

@ -60,8 +60,6 @@ static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval **retval,
}
/* }}} */
int spl_is_instance_of(zval **obj, zend_class_entry *ce TSRMLS_DC);
#endif /* SPL_ENGINE_H */
/*

Loading…
Cancel
Save