summaryrefslogtreecommitdiff
path: root/ext/spl/spl_engine.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-12-10 10:21:24 +0000
committerMarcus Boerger <helly@php.net>2003-12-10 10:21:24 +0000
commit47012601af708a714db28055fdbab26695ae0d7f (patch)
tree3d6c728b534b6883a222dbc18f692bde2943dc98 /ext/spl/spl_engine.c
parentc212ddd5ec5f85597e2c861ce82aa84cc233336a (diff)
downloadphp-git-47012601af708a714db28055fdbab26695ae0d7f.tar.gz
Make these inline
Diffstat (limited to 'ext/spl/spl_engine.c')
-rwxr-xr-xext/spl/spl_engine.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/ext/spl/spl_engine.c b/ext/spl/spl_engine.c
index ec43c6fdd9..5c29872454 100755
--- a/ext/spl/spl_engine.c
+++ b/ext/spl/spl_engine.c
@@ -43,36 +43,6 @@ void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC)
}
/* }}} */
-/* {{{ spl_instantiate_arg_ex1 */
-int spl_instantiate_arg_ex1(zend_class_entry *pce, zval **retval, int alloc, zval *arg1 TSRMLS_DC)
-{
- zval *tmp;
-
- spl_instantiate(pce, retval, alloc TSRMLS_CC);
-
- zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pce->constructor->common.function_name), &tmp, 1, arg1, NULL TSRMLS_CC);
- if (tmp) {
- zval_ptr_dtor(&tmp);
- }
- return 0;
-}
-/* }}} */
-
-/* {{{ spl_instantiate_arg_ex2 */
-int spl_instantiate_arg_ex2(zend_class_entry *pce, zval **retval, int alloc, zval *arg1, zval *arg2 TSRMLS_DC)
-{
- zval *tmp;
-
- spl_instantiate(pce, retval, alloc TSRMLS_CC);
-
- zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pce->constructor->common.function_name), &tmp, 2, arg1, arg2 TSRMLS_CC);
- if (tmp) {
- zval_ptr_dtor(&tmp);
- }
- return 0;
-}
-/* }}} */
-
/* {{{ spl_is_instance_of */
int spl_is_instance_of(zval **obj, zend_class_entry *ce TSRMLS_DC)
{