summaryrefslogtreecommitdiff
path: root/src/lua/include/property.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-02-22 12:37:01 +1100
committerjacqueline <me@jacqueline.id.au>2024-02-22 12:37:01 +1100
commit4b2003c78a5e4270f384283f72d185cd4a40f30e (patch)
tree6db70733ece111762f5aaf178d082716d8bd702a /src/lua/include/property.hpp
parent2a250855036047f4e3e37e51600276746d1c302a (diff)
downloadtangara-fw-4b2003c78a5e4270f384283f72d185cd4a40f30e.tar.gz
Make property bindings shared amongst all lua threads
Diffstat (limited to 'src/lua/include/property.hpp')
-rw-r--r--src/lua/include/property.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lua/include/property.hpp b/src/lua/include/property.hpp
index 03229bc1..7d160fba 100644
--- a/src/lua/include/property.hpp
+++ b/src/lua/include/property.hpp
@@ -53,7 +53,9 @@ class Property {
class PropertyBindings {
public:
- PropertyBindings(lua_State&);
+ PropertyBindings();
+
+ auto install(lua_State*) -> void;
auto Register(lua_State*, Property*) -> void;
auto Register(lua_State*, LuaFunction) -> void;