summaryrefslogtreecommitdiffstats
path: root/tests/LuaThreadStress
diff options
context:
space:
mode:
Diffstat (limited to 'tests/LuaThreadStress')
-rw-r--r--tests/LuaThreadStress/LuaState_Declaration.inc5
-rw-r--r--tests/LuaThreadStress/LuaState_Typedefs.inc1
-rw-r--r--tests/LuaThreadStress/Stubs.cpp21
3 files changed, 26 insertions, 1 deletions
diff --git a/tests/LuaThreadStress/LuaState_Declaration.inc b/tests/LuaThreadStress/LuaState_Declaration.inc
index 4019b26c6..8b342e1b1 100644
--- a/tests/LuaThreadStress/LuaState_Declaration.inc
+++ b/tests/LuaThreadStress/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/LuaThreadStress/LuaState_Typedefs.inc b/tests/LuaThreadStress/LuaState_Typedefs.inc
index 5eba7c6f8..e79633556 100644
--- a/tests/LuaThreadStress/LuaState_Typedefs.inc
+++ b/tests/LuaThreadStress/LuaState_Typedefs.inc
@@ -14,6 +14,7 @@ class cPluginLua;
class cBoundingBox;
template <typename T> class cItemCallback;
class cEntity;
+class cUUID;
diff --git a/tests/LuaThreadStress/Stubs.cpp b/tests/LuaThreadStress/Stubs.cpp
index 709c7efe5..98fbf5b74 100644
--- a/tests/LuaThreadStress/Stubs.cpp
+++ b/tests/LuaThreadStress/Stubs.cpp
@@ -7,13 +7,14 @@
#include "Globals.h"
#include "BlockInfo.h"
#include "Bindings.h"
+#include "DeadlockDetect.h"
+#include "UUID.h"
#include "Bindings/DeprecatedBindings.h"
#include "Bindings/LuaJson.h"
#include "Bindings/ManualBindings.h"
#include "BlockEntities/BlockEntity.h"
#include "Blocks/BlockHandler.h"
#include "Generating/ChunkDesc.h"
-#include "DeadlockDetect.h"
@@ -333,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 true;
+}
+
+
+
+