summaryrefslogtreecommitdiff
path: root/src/lua/include/lua_thread.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/include/lua_thread.hpp')
-rw-r--r--src/lua/include/lua_thread.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/include/lua_thread.hpp b/src/lua/include/lua_thread.hpp
index 381b1bdb..939d0cda 100644
--- a/src/lua/include/lua_thread.hpp
+++ b/src/lua/include/lua_thread.hpp
@@ -27,6 +27,8 @@ class LuaThread {
auto RunScript(const std::string& path) -> bool;
+ auto bridge() -> Bridge& { return *bridge_; }
+
private:
LuaThread(std::unique_ptr<Allocator>&, std::unique_ptr<Bridge>&, lua_State*);