cvs: ZendEngine2 / zend_API.h zend_compile.h zend_reflection_api.c

From: Date: Sun, 24 Aug 2003 16:35:59 +0000
Subject: cvs: ZendEngine2 / zend_API.h zend_compile.h zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1697@lists.php.net to get a copy of this message
helly Sun Aug 24 12:35:59 2003 EDT Modified files: /ZendEngine2 zend_API.h zend_compile.h zend_reflection_api.c Log: Don't identify alias'ed functions Index: ZendEngine2/zend_API.h diff -u ZendEngine2/zend_API.h:1.157 ZendEngine2/zend_API.h:1.158 --- ZendEngine2/zend_API.h:1.157 Sun Aug 24 07:24:10 2003 +++ ZendEngine2/zend_API.h Sun Aug 24 12:35:58 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.h,v 1.157 2003/08/24 11:24:10 helly Exp $ */ +/* $Id: zend_API.h,v 1.158 2003/08/24 16:35:58 helly Exp $ */ #ifndef ZEND_API_H #define ZEND_API_H @@ -50,7 +50,7 @@ #define ZEND_NAMED_FE(zend_name, name, arg_info) ZEND_FENTRY(zend_name, name, arg_info, 0) #define ZEND_FE(name, arg_info) ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0) -#define ZEND_FALIAS(name, alias, arg_info) ZEND_FENTRY(name, ZEND_FN(alias), arg_info, ZEND_ACC_PUBLIC|ZEND_ACC_ALIAS) +#define ZEND_FALIAS(name, alias, arg_info) ZEND_FENTRY(name, ZEND_FN(alias), arg_info, 0) #define ZEND_ME(classname, name, arg_info, flags) ZEND_FENTRY(name, ZEND_FN(classname##_##name), arg_info, flags) #define ZEND_ABSTRACT_ME(classname, name, arg_info) ZEND_FENTRY(name, NULL, arg_info, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT) Index: ZendEngine2/zend_compile.h diff -u ZendEngine2/zend_compile.h:1.259 ZendEngine2/zend_compile.h:1.260 --- ZendEngine2/zend_compile.h:1.259 Sun Aug 24 07:09:45 2003 +++ ZendEngine2/zend_compile.h Sun Aug 24 12:35:58 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.h,v 1.259 2003/08/24 11:09:45 helly Exp $ */ +/* $Id: zend_compile.h,v 1.260 2003/08/24 16:35:58 helly Exp $ */ #ifndef ZEND_COMPILE_H #define ZEND_COMPILE_H @@ -112,8 +112,6 @@ #define ZEND_ACC_CTOR 0x2000 #define ZEND_ACC_DTOR 0x4000 - -#define ZEND_ACC_ALIAS 0x8000 char *zend_visibility_string(zend_uint fn_flags); Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.32 ZendEngine2/zend_reflection_api.c:1.33 --- ZendEngine2/zend_reflection_api.c:1.32 Sun Aug 24 11:07:54 2003 +++ ZendEngine2/zend_reflection_api.c Sun Aug 24 12:35:58 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.32 2003/08/24 15:07:54 helly Exp $ */ +/* $Id: zend_reflection_api.c,v 1.33 2003/08/24 16:35:58 helly Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_default_classes.h" @@ -357,9 +357,6 @@ string_printf(str, fptr->common.scope ? "%sMethod [ " : "%sFunction [ ", indent); string_printf(str, (fptr->type == ZEND_USER_FUNCTION) ? "<user> " : "<internal> "); - if (fptr->common.fn_flags & ZEND_ACC_ALIAS) { - string_printf(str, "<alias> "); - } if (fptr->common.fn_flags & ZEND_ACC_CTOR) { string_printf(str, "<ctor> "); } @@ -640,14 +637,6 @@ METHOD_NOTSTATIC_NUMPARAMS(0); GET_REFLECTION_OBJECT_PTR(fptr); RETURN_BOOL(fptr->type == ZEND_USER_FUNCTION); -} -/* }}} */ - -/* {{{ proto public bool Reflection_Function::isAlias() - Returns whether this method is static */ -ZEND_METHOD(reflection_function, isalias) -{ - _function_check_flag(INTERNAL_FUNCTION_PARAM_PASSTHRU, ZEND_ACC_ALIAS); } /* }}} */

« previous php.zend-engine.cvs (#1697) next »