summaryrefslogtreecommitdiff
path: root/indra/llcommon/lua_function.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-02-12 17:10:42 -0500
committerNat Goodspeed <nat@lindenlab.com>2024-02-12 17:10:42 -0500
commitb4583fac09657cb64ed02e82e12ce69c4ace225d (patch)
treed1a33cf3a6730171f2235279e734aeacb89507e6 /indra/llcommon/lua_function.h
parente974e2755a32f3475736011ad222ec86698dec43 (diff)
WIP: Changes towards supporting Lua console help text.
Diffstat (limited to 'indra/llcommon/lua_function.h')
-rw-r--r--indra/llcommon/lua_function.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/lua_function.h b/indra/llcommon/lua_function.h
index c23bf533ba..3129b5eaca 100644
--- a/indra/llcommon/lua_function.h
+++ b/indra/llcommon/lua_function.h
@@ -131,8 +131,10 @@ public:
static lua_CFunction get(const std::string& key);
-private:
using Registry = std::map<std::string, std::pair<lua_CFunction, std::string>>;
+ static const Registry& getRegistered() { return getRegistry(); }
+
+private:
static Registry& getRegistry();
};