diff options
author | madmaxoft <github@xoft.cz> | 2013-11-22 16:49:38 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-22 16:49:38 +0100 |
commit | 14569885e55c7f3def2b0f56765c742a162c0fe1 (patch) | |
tree | 6eb9f2570ec02229d4db5bb8c7dc74143ccc6afb /source/LuaState.h | |
parent | APIDump: Documented new cRoot:GetFurnaceRecipe(). (diff) | |
download | cuberite-14569885e55c7f3def2b0f56765c742a162c0fe1.tar cuberite-14569885e55c7f3def2b0f56765c742a162c0fe1.tar.gz cuberite-14569885e55c7f3def2b0f56765c742a162c0fe1.tar.bz2 cuberite-14569885e55c7f3def2b0f56765c742a162c0fe1.tar.lz cuberite-14569885e55c7f3def2b0f56765c742a162c0fe1.tar.xz cuberite-14569885e55c7f3def2b0f56765c742a162c0fe1.tar.zst cuberite-14569885e55c7f3def2b0f56765c742a162c0fe1.zip |
Diffstat (limited to 'source/LuaState.h')
-rw-r--r-- | source/LuaState.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/LuaState.h b/source/LuaState.h index caba2484d..8586a251b 100644 --- a/source/LuaState.h +++ b/source/LuaState.h @@ -764,7 +764,10 @@ public: */ bool CallFunction(int a_NumReturnValues); - /// Returns true if the specified parameters on the stack are of the specified usertype; also logs warning if not + /// Returns true if the specified parameters on the stack are of the specified usertable type; also logs warning if not. Used for static functions + bool CheckParamUserTable(int a_StartParam, const char * a_UserTable, int a_EndParam = -1); + + /// Returns true if the specified parameters on the stack are of the specified usertype; also logs warning if not. Used for regular functions bool CheckParamUserType(int a_StartParam, const char * a_UserType, int a_EndParam = -1); /// Returns true if the specified parameters on the stack are a table; also logs warning if not |