ZFFramework
 
Loading...
Searching...
No Matches
ZFLuaExecute.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFLuaExecute_h_
7#define _ZFI_ZFLuaExecute_h_
8
9#include "ZFLuaDef.h"
11
12// ============================================================
205 , ZFMP_IN(const ZFInput &, input)
209 , ZFMP_IN(const zfchar *, buf)
213 , ZFMP_IN(const ZFInput &, input)
214 , ZFMP_IN(ZFObject *, param0)
215 , ZFMP_IN_OPT(ZFObject *, param1, ZFMP_DEF())
216 , ZFMP_IN_OPT(ZFObject *, param2, ZFMP_DEF())
217 , ZFMP_IN_OPT(ZFObject *, param3, ZFMP_DEF())
218 , ZFMP_IN_OPT(ZFObject *, param4, ZFMP_DEF())
219 , ZFMP_IN_OPT(ZFObject *, param5, ZFMP_DEF())
220 , ZFMP_IN_OPT(ZFObject *, param6, ZFMP_DEF())
221 /* ZFMETHOD_MAX_PARAM */
222 // , ZFMP_IN_OPT(ZFObject *, param7, ZFMP_DEF())
226 , ZFMP_IN(const zfchar *, buf)
227 , ZFMP_IN(ZFObject *, param0)
228 , ZFMP_IN_OPT(ZFObject *, param1, ZFMP_DEF())
229 , ZFMP_IN_OPT(ZFObject *, param2, ZFMP_DEF())
230 , ZFMP_IN_OPT(ZFObject *, param3, ZFMP_DEF())
231 , ZFMP_IN_OPT(ZFObject *, param4, ZFMP_DEF())
232 , ZFMP_IN_OPT(ZFObject *, param5, ZFMP_DEF())
233 , ZFMP_IN_OPT(ZFObject *, param6, ZFMP_DEF())
234 /* ZFMETHOD_MAX_PARAM */
235 // , ZFMP_IN_OPT(ZFObject *, param7, ZFMP_DEF())
239 , ZFMP_IN(const ZFInput &, input)
240 , ZFMP_IN(const ZFCoreArray<zfauto> &, luaParams)
241 , ZFMP_OUT_OPT(zfbool *, success, zfnull)
242 , ZFMP_OUT_OPT(zfstring *, errorHint, zfnull)
243 , ZFMP_IN_OPT(void *, L, zfnull)
247 , ZFMP_IN(const zfchar *, buf)
248 , ZFMP_IN(const ZFCoreArray<zfauto> &, luaParams)
249 , ZFMP_OUT_OPT(zfbool *, success, zfnull)
250 , ZFMP_OUT_OPT(zfstring *, errorHint, zfnull)
251 , ZFMP_IN_OPT(void *, L, zfnull)
253
255#endif // #ifndef _ZFI_ZFLuaExecute_h_
256
_ZFT_t_zfchar zfchar
char wrapper
Definition ZFCoreTypeDef_CharType.h:17
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
global header for ZFLua module
#define ZFLIB_ZFLua
used to export symbols
Definition ZFLuaDef.h:14
zfauto ZFLuaExecute(const ZFInput &input)
main entry for lua module, execute lua code
zfauto ZFLuaExecuteDetail(const ZFInput &input, const ZFCoreArray< zfauto > &luaParams, zfbool *success=(zft_zfnull), zfstring *errorHint=(zft_zfnull), void *L=(zft_zfnull))
see ZFLuaExecute
#define ZFMP_OUT_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:114
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_DECLARE_5(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2, ZFMP_3, ZFMP_4)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:1228
#define ZFMETHOD_FUNC_DECLARE_8(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2, ZFMP_3, ZFMP_4, ZFMP_5, ZFMP_6, ZFMP_7)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:1765
#define ZFMETHOD_FUNC_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:624
#define ZFMP_DEF()
mark the object as default param
Definition ZFMethodGenericInvoker.h:30
#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
general input callback
Definition ZFIOCallback_input.h:37
base class of all objects
Definition ZFObjectCore.h:209
a ZFObject holder which would release content object automatically when destroyed
Definition zfautoFwd.h:34