diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-02-12 17:10:42 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-02-12 17:10:42 -0500 |
commit | b4583fac09657cb64ed02e82e12ce69c4ace225d (patch) | |
tree | d1a33cf3a6730171f2235279e734aeacb89507e6 /indra/llcommon/lua_function.h | |
parent | e974e2755a32f3475736011ad222ec86698dec43 (diff) |
WIP: Changes towards supporting Lua console help text.
Diffstat (limited to 'indra/llcommon/lua_function.h')
-rw-r--r-- | indra/llcommon/lua_function.h | 4 |
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(); }; |