6#ifndef _ZFI_ZFImpl_ZFLua_PathInfo_h_
7#define _ZFI_ZFImpl_ZFLua_PathInfo_h_
65#define ZFImpl_ZFLua_implPathInfo_DEFINE(luaFunc, luaFuncBody) \
66 ZF_GLOBAL_INITIALIZER_INIT_WITH_LEVEL(ZFImpl_ZFLua_implPathInfo_##luaFunc, ZFLevelZFFrameworkNormal) { \
67 _ZFP_ZFImpl_ZFLua_implPathInfoRegister(zftext(ZFM_TOSTRING(luaFunc)), (luaFuncBody)); \
69 ZF_GLOBAL_INITIALIZER_DESTROY(ZFImpl_ZFLua_implPathInfo_##luaFunc) { \
70 _ZFP_ZFImpl_ZFLua_implPathInfoUnregister(zftext(ZFM_TOSTRING(luaFunc))); \
72 ZF_GLOBAL_INITIALIZER_END(ZFImpl_ZFLua_implPathInfo_##luaFunc)
_ZFT_t_zfchar zfchar
char wrapper
Definition ZFCoreTypeDef_CharType.h:17
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define ZF_IN_OPT
dummy macro that shows the param used as optional input
Definition ZFCoreTypeDef_ClassType.h:184
#define ZF_OUT
dummy macro that shows the param used as required output
Definition ZFCoreTypeDef_ClassType.h:188
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
#define zftrue
bool true type
Definition ZFCoreTypeDef_CoreType.h:107
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
global header for lua impl
const ZFCoreArray< zfstring > & ZFImpl_ZFLua_implPathInfoList(void)
return luaFuncName list registered
void ZFImpl_ZFLua_implPathInfoSetup(lua_State *L, zfstring &ret, const ZFPathInfo &pathInfo, zfbool localMode=_ZFT_t_zftrue)
setup path info for lua execute
zfbool ZFImpl_ZFLua_implPathInfoExist(const zfchar *luaFuncName)
check whether luaFuncName registered
#define ZFLIB_ZFLua_impl
used to export symbols
Definition ZFImpl_ZFLua_impl.h:16
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
light weight array
Definition ZFCoreArray.h:331
path related info storage for impl, actual meaning of the info depends on impl
Definition ZFPathInfo.h:35