mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
The print() function in Lua scripts now outputs to Rainmeter log (an alternative to the TO.LuaLog() function).
This commit is contained in:
@ -114,6 +114,7 @@ static const luaL_reg rainmeter_ext_funcs[] =
|
||||
|
||||
TOLUA_API int luaopen_rainmeter_ext (lua_State* L)
|
||||
{
|
||||
lua_register(L, "print", staticLuaLog);
|
||||
luaL_register(L,"TO", rainmeter_ext_funcs);
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user