diff options
Diffstat (limited to 'tests/Generating')
-rw-r--r-- | tests/Generating/LuaState_Declaration.inc | 5 | ||||
-rw-r--r-- | tests/Generating/LuaState_Typedefs.inc | 1 | ||||
-rw-r--r-- | tests/Generating/Stubs.cpp | 20 |
3 files changed, 26 insertions, 0 deletions
diff --git a/tests/Generating/LuaState_Declaration.inc b/tests/Generating/LuaState_Declaration.inc index 4019b26c6..8b342e1b1 100644 --- a/tests/Generating/LuaState_Declaration.inc +++ b/tests/Generating/LuaState_Declaration.inc @@ -2,3 +2,8 @@ // LuaState_Declaration.inc // Dummy include file needed for LuaState to compile successfully + + +bool GetStackValue(int, cUUID *&); + + diff --git a/tests/Generating/LuaState_Typedefs.inc b/tests/Generating/LuaState_Typedefs.inc index 5eba7c6f8..e79633556 100644 --- a/tests/Generating/LuaState_Typedefs.inc +++ b/tests/Generating/LuaState_Typedefs.inc @@ -14,6 +14,7 @@ class cPluginLua; class cBoundingBox; template <typename T> class cItemCallback; class cEntity; +class cUUID; diff --git a/tests/Generating/Stubs.cpp b/tests/Generating/Stubs.cpp index d363576a5..396fa15da 100644 --- a/tests/Generating/Stubs.cpp +++ b/tests/Generating/Stubs.cpp @@ -6,9 +6,11 @@ #include "Globals.h" #include "BlockInfo.h" +#include "UUID.h" #include "Bindings.h" #include "Bindings/DeprecatedBindings.h" #include "Bindings/LuaJson.h" +#include "Bindings/LuaState.h" #include "Bindings/ManualBindings.h" #include "BlockEntities/BlockEntity.h" #include "Blocks/BlockHandler.h" @@ -332,3 +334,21 @@ cBlockEntity * cBlockEntity::Clone(int a_BlockX, int a_BlockY, int a_BlockZ) + +bool cLuaState::GetStackValue(int, cUUID *&) +{ + return false; +} + + + + + +bool cUUID::FromString(const AString&) +{ + return false; +} + + + + |