mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Lua: Disabled debug library.
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
#include "../LuaManager.h"
|
||||
#include "../../Litestep.h"
|
||||
|
||||
static int Global_Print(lua_State* L)
|
||||
static int Print(lua_State* L)
|
||||
{
|
||||
// Modified version of luaB_print()
|
||||
std::string message;
|
||||
@ -59,5 +59,5 @@ static int Global_Print(lua_State* L)
|
||||
|
||||
void LuaManager::RegisterGlobal(lua_State* L)
|
||||
{
|
||||
lua_register(L, "print", Global_Print);
|
||||
lua_register(L, "print", Print);
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ static int GetStringValue(lua_State* L)
|
||||
|
||||
void LuaManager::RegisterMeasure(lua_State* L)
|
||||
{
|
||||
const luaL_reg functions[] =
|
||||
const luaL_Reg functions[] =
|
||||
{
|
||||
{ "GetName", GetName },
|
||||
{ "GetOption", GetOption },
|
||||
|
@ -148,7 +148,7 @@ static int SetText(lua_State* L)
|
||||
|
||||
void LuaManager::RegisterMeter(lua_State* L)
|
||||
{
|
||||
const luaL_reg functions[] =
|
||||
const luaL_Reg functions[] =
|
||||
{
|
||||
{ "GetName", GetName },
|
||||
{ "GetOption", GetOption },
|
||||
|
@ -179,7 +179,7 @@ static int MakePathAbsolute(lua_State* L)
|
||||
|
||||
void LuaManager::RegisterMeterWindow(lua_State* L)
|
||||
{
|
||||
const luaL_reg functions[] =
|
||||
const luaL_Reg functions[] =
|
||||
{
|
||||
{ "Bang", Bang },
|
||||
{ "GetMeter", GetMeter },
|
||||
|
Reference in New Issue
Block a user