From f4f2fc7c3d76eb3dc5a91c5eefb36c10597d6cb7 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Fri, 25 Aug 2017 13:43:18 +0100 Subject: Add cUUID class (#3871) --- tests/Generating/LuaState_Declaration.inc | 5 +++++ tests/Generating/LuaState_Typedefs.inc | 1 + tests/Generating/Stubs.cpp | 20 ++++++++++++++++++++ 3 files changed, 26 insertions(+) (limited to 'tests/Generating') 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 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; +} + + + + -- cgit v1.2.3