MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / add_global_c_function

Method add_global_c_function

src/Chain/libraries/glua/glua_state_scope.cpp:140–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 return thinkyoung::lua::lib::run_compiled_bytestream(_L, stream_addr);
139 }
140 void GluaStateScope::add_global_c_function(const char *name, lua_CFunction func)
141 {
142 thinkyoung::lua::lib::add_global_c_function(_L, name, func);
143 }
144 void GluaStateScope::add_global_string_variable(const char *name, const char *str)
145 {
146 thinkyoung::lua::lib::add_global_string_variable(_L, name, str);

Callers

nothing calls this directly

Calls 1

add_global_c_functionFunction · 0.85

Tested by

no test coverage detected