Lua: Disabled debug library.

This commit is contained in:
Birunthan Mohanathas
2012-03-09 13:19:49 +00:00
parent ad2a986e88
commit e196ac08db
5 changed files with 26 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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