Merge pull request #528 from jahodfra/add_debug

Add debug library for lua.
This commit is contained in:
Vadim Grigoruk 2018-02-16 10:41:44 +03:00 committed by GitHub
commit 1d2ceecba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1210,6 +1210,7 @@ static bool initLua(tic_mem* tic, const char* code)
{ LUA_TABLIBNAME, luaopen_table }, { LUA_TABLIBNAME, luaopen_table },
{ LUA_STRLIBNAME, luaopen_string }, { LUA_STRLIBNAME, luaopen_string },
{ LUA_MATHLIBNAME, luaopen_math }, { LUA_MATHLIBNAME, luaopen_math },
{ LUA_DBLIBNAME, luaopen_debug },
{ NULL, NULL } { NULL, NULL }
}; };
@ -1569,4 +1570,4 @@ static const tic_script_config MoonSyntaxConfig =
const tic_script_config* getMoonScriptConfig() const tic_script_config* getMoonScriptConfig()
{ {
return &MoonSyntaxConfig; return &MoonSyntaxConfig;
} }