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

Method register_module

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

Source from the content-addressed store, hash-verified

158 thinkyoung::lua::lib::add_global_bool_variable(_L, name, value);
159 }
160 void GluaStateScope::register_module(const char *name, lua_CFunction openmodule_func)
161 {
162 thinkyoung::lua::lib::register_module(_L, name, openmodule_func);
163 }
164 int GluaStateScope::execute_contract_api(const char *contract_name, const char *api_name, const char *arg1, std::string *result_json_string)
165 {
166 return thinkyoung::lua::lib::execute_contract_api(_L, contract_name, api_name, arg1, result_json_string);

Callers

nothing calls this directly

Calls 1

register_moduleFunction · 0.85

Tested by

no test coverage detected