The print() function in Lua scripts now outputs to Rainmeter log (an alternative to the TO.LuaLog() function).

This commit is contained in:
Birunthan Mohanathas
2011-01-30 13:04:17 +00:00
parent 251beb9e3a
commit a69e2e91d2
6 changed files with 25 additions and 29 deletions

View File

@ -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;
}