Commit be9f0df6 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Renamed LuaInterface -> NLua

parent 2e203153
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -24,7 +24,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
#if USE_KOPILUA
using LuaCore = KopiLua.Lua;
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -24,7 +24,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
/*
* Common interface for types generated from tables. The method
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -24,7 +24,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
/*
* Structure to store a type and the return types of
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -29,12 +29,12 @@ using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using LuaInterface.Event;
using LuaInterface.Method;
using LuaInterface.Exceptions;
using LuaInterface.Extensions;
using NLua.Event;
using NLua.Method;
using NLua.Exceptions;
using NLua.Extensions;
namespace LuaInterface
namespace NLua
{
#if USE_KOPILUA
using LuaCore = KopiLua.Lua;
......@@ -43,7 +43,7 @@ namespace LuaInterface
#endif
/*
* Main class of LuaInterface
* Main class of NLua
* Object-oriented wrapper to Lua API
*
* Author: Fabio Mascarenhas
......@@ -182,7 +182,7 @@ namespace LuaInterface
}
/*
* CAUTION: LuaInterface.Lua instances can't share the same lua state!
* CAUTION: NLua.Lua instances can't share the same lua state!
*/
public Lua (LuaCore.lua_State lState)
{
......@@ -191,7 +191,7 @@ namespace LuaInterface
if (LuaLib.lua_toboolean (lState, -1)) {
LuaLib.lua_settop (lState, -2);
throw new LuaException ("There is already a LuaInterface.Lua instance associated with this Lua state");
throw new LuaException ("There is already a NLua.Lua instance associated with this Lua state");
} else {
LuaLib.lua_settop (lState, -2);
LuaLib.lua_pushstring (lState, "LUAINTERFACE LOADED");
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -26,7 +26,7 @@ using System;
using System.Text;
using System.Collections.Generic;
namespace LuaInterface
namespace NLua
{
/// <summary>
/// Base class to provide consistent disposal flow across lua objects. Uses code provided by Yves Duhoux and suggestions by Hans Schmeidenbacher and Qingrui Li
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -26,7 +26,7 @@ using System;
using System.Text;
using System.Collections.Generic;
namespace LuaInterface
namespace NLua
{
#if USE_KOPILUA
using LuaCore = KopiLua.Lua;
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -24,7 +24,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
/// <summary>
/// Marks a method for global usage in Lua scripts
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -24,7 +24,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
/// <summary>
/// Marks a method, field or property to be hidden from Lua auto-completion
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2009 Joshua Simmons <simmons.44@gmail.com>
......@@ -25,7 +25,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
public enum GCOptions : int
{
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2009 Joshua Simmons <simmons.44@gmail.com>
......@@ -25,7 +25,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
/// <summary>
/// Enumeration of basic lua globals.
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2009 Joshua Simmons <simmons.44@gmail.com>
......@@ -25,7 +25,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
public enum LuaIndexes : int
{
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2009 Joshua Simmons <simmons.44@gmail.com>
......@@ -25,9 +25,9 @@
*/
using System;
using System.IO;
using LuaInterface.Extensions;
using NLua.Extensions;
namespace LuaInterface
namespace NLua
{
#if USE_KOPILUA
using LuaCore = KopiLua.Lua;
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2009 Joshua Simmons <simmons.44@gmail.com>
......@@ -27,9 +27,9 @@ using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters.Binary;
using LuaInterface.Extensions;
using NLua.Extensions;
namespace LuaInterface
namespace NLua
{
public enum LuaTypes : int
{
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2009 Joshua Simmons <simmons.44@gmail.com>
......@@ -25,7 +25,7 @@
*/
using System;
namespace LuaInterface
namespace NLua
{
public enum References : int
{
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -25,9 +25,9 @@
using System;
using System.Reflection;
using System.Diagnostics.CodeAnalysis;
using LuaInterface.Extensions;
using NLua.Extensions;
namespace LuaInterface
namespace NLua
{
public static class LuaRegistrationHelper
{
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -27,7 +27,7 @@ using System.Text;
using System.Collections;
using System.Collections.Generic;
namespace LuaInterface
namespace NLua
{
#if USE_KOPILUA
using LuaCore = KopiLua.Lua;
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -26,7 +26,7 @@ using System;
using System.Text;
using System.Collections.Generic;
namespace LuaInterface
namespace NLua
{
#if USE_KOPILUA
using LuaCore = KopiLua.Lua;
......
......@@ -6,15 +6,15 @@ EXTRA_DIST =
if ENABLE_DEBUG_X86
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG"
ASSEMBLY = ../../Run/Debug/LuaInterface.dll
ASSEMBLY = ../../Run/Debug/NLua.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../../Run/Debug/KopiLua.dll
BUILD_DIR = ../../Run/Debug
LUAINTERFACE_DLL_MDB_SOURCE=../../Run/Debug/LuaInterface.dll.mdb
LUAINTERFACE_DLL_MDB=$(BUILD_DIR)/LuaInterface.dll.mdb
LUAINTERFACE_DLL_MDB_SOURCE=../../Run/Debug/NLua.dll.mdb
LUAINTERFACE_DLL_MDB=$(BUILD_DIR)/NLua.dll.mdb
KOPILUA_DLL_SOURCE=../../Run/Debug/KopiLua.dll
endif
......@@ -22,7 +22,7 @@ endif
if ENABLE_RELEASE_X86
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:RELEASE"
ASSEMBLY = ../../Run/Release/LuaInterface.dll
ASSEMBLY = ../../Run/Release/NLua.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
......@@ -37,15 +37,15 @@ endif
if ENABLE_DEBUG_X64
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG"
ASSEMBLY = ../../Run/Debug_x64/LuaInterface.dll
ASSEMBLY = ../../Run/Debug_x64/NLua.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../../Run/Debug_x64/KopiLua.dll
BUILD_DIR = ../../Run/Debug_x64
LUAINTERFACE_DLL_MDB_SOURCE=../../Run/Debug_x64/LuaInterface.dll.mdb
LUAINTERFACE_DLL_MDB=$(BUILD_DIR)/LuaInterface.dll.mdb
LUAINTERFACE_DLL_MDB_SOURCE=../../Run/Debug_x64/NLua.dll.mdb
LUAINTERFACE_DLL_MDB=$(BUILD_DIR)/NLua.dll.mdb
KOPILUA_DLL_SOURCE=../../Run/Debug_x64/KopiLua.dll
endif
......@@ -53,7 +53,7 @@ endif
if ENABLE_RELEASE_X64
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:RELEASE"
ASSEMBLY = ../../Run/Release_x64/LuaInterface.dll
ASSEMBLY = ../../Run/Release_x64/NLua.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
......@@ -120,7 +120,7 @@ FILES = \
LuaLib/LuaIndexes.cs \
LuaLib/GCOptions.cs \
LuaLib/LuaLib.cs \
Config/LuaInterfaceConfig.cs
Config/NLuaConfig.cs
DATA_FILES =
......@@ -133,7 +133,7 @@ EXTRAS = \
Exceptions \
Method \
Config \
luainterface.pc.in
nlua.pc.in
REFERENCES = \
System \
......@@ -147,9 +147,9 @@ CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG)
include $(top_srcdir)/Makefile.include
KOPILUA_DLL = $(BUILD_DIR)/KopiLua.dll
LUAINTERFACE_PC = $(BUILD_DIR)/luainterface.pc
LUAINTERFACE_PC = $(BUILD_DIR)/nlua.pc
$(eval $(call emit-deploy-wrapper,LUAINTERFACE_PC,luainterface.pc))
$(eval $(call emit-deploy-wrapper,LUAINTERFACE_PC,nlua.pc))
$(eval $(call emit_resgen_targets))
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -29,10 +29,10 @@ using System.Reflection;
using System.Diagnostics;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using LuaInterface.Method;
using LuaInterface.Extensions;
using NLua.Method;
using NLua.Extensions;
namespace LuaInterface
namespace NLua
{
#if USE_KOPILUA
using LuaCore = KopiLua.Lua;
......
/*
* This file is part of LuaInterface.
* This file is part of NLua.
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
......@@ -26,10 +26,10 @@ using System;
using System.Diagnostics;
using System.Collections.Generic;
namespace LuaInterface.Method
namespace NLua.Method
{
/// <summary>
/// We keep track of what delegates we have auto attached to an event - to allow us to cleanly exit a LuaInterface session
/// We keep track of what delegates we have auto attached to an event - to allow us to cleanly exit a NLua session
/// </summary>
class EventHandlerContainer : IDisposable
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment