Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
be9f0df6
Commit
be9f0df6
authored
Mar 12, 2013
by
Vinicius Jarina
Browse files
Renamed LuaInterface -> NLua
parent
2e203153
Changes
89
Hide whitespace changes
Inline
Side-by-side
Applications/LuaRunner/LuaNetRunner.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
using
System
;
using
System
;
using
System.Threading
;
using
System.Threading
;
using
Lua
Interface
;
using
N
Lua
;
/*
/*
* Application to run Lua scripts that can use Lua
Interface
* Application to run Lua scripts that can use
N
Lua
* from the console
* from the console
*
*
* Author: Fabio Mascarenhas
* Author: Fabio Mascarenhas
...
...
Applications/LuaRunner/LuaRunner.csproj
View file @
be9f0df6
...
@@ -66,9 +66,9 @@
...
@@ -66,9 +66,9 @@
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\..\Core\Lua
Interface\LuaInterface
.csproj"
>
<ProjectReference
Include=
"..\..\Core\
N
Lua
\NLua
.csproj"
>
<Project>
{F55CABBB-4108-4A39-94E1-581FD46DC021}
</Project>
<Project>
{F55CABBB-4108-4A39-94E1-581FD46DC021}
</Project>
<Name>
Lua
Interface
</Name>
<Name>
N
Lua
</Name>
</ProjectReference>
</ProjectReference>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
...
...
Applications/LuaRunner/LuaRunner.make
View file @
be9f0df6
...
@@ -9,12 +9,12 @@ ASSEMBLY = ../../Run/Debug/LuaRunner.exe
...
@@ -9,12 +9,12 @@ ASSEMBLY = ../../Run/Debug/LuaRunner.exe
ASSEMBLY_MDB
=
$(ASSEMBLY)
.mdb
ASSEMBLY_MDB
=
$(ASSEMBLY)
.mdb
COMPILE_TARGET
=
exe
COMPILE_TARGET
=
exe
PROJECT_REFERENCES
=
\
PROJECT_REFERENCES
=
\
../../Run/Debug/Lua
Interface
.dll
../../Run/Debug/
N
Lua.dll
BUILD_DIR
=
../../Run/Debug
BUILD_DIR
=
../../Run/Debug
LUARUNNER_EXE_MDB_SOURCE
=
../../Run/Debug/LuaRunner.exe.mdb
LUARUNNER_EXE_MDB_SOURCE
=
../../Run/Debug/LuaRunner.exe.mdb
LUARUNNER_EXE_MDB
=
$(BUILD_DIR)
/LuaRunner.exe.mdb
LUARUNNER_EXE_MDB
=
$(BUILD_DIR)
/LuaRunner.exe.mdb
LUAINTERFACE_DLL_SOURCE
=
../../Run/Debug/Lua
Interface
.dll
LUAINTERFACE_DLL_SOURCE
=
../../Run/Debug/
N
Lua.dll
KOPILUA_DLL_SOURCE
=
../../Run/Debug/KopiLua.dll
KOPILUA_DLL_SOURCE
=
../../Run/Debug/KopiLua.dll
endif
endif
...
@@ -26,11 +26,11 @@ ASSEMBLY = ../../Run/Release/LuaRunner.exe
...
@@ -26,11 +26,11 @@ ASSEMBLY = ../../Run/Release/LuaRunner.exe
ASSEMBLY_MDB
=
ASSEMBLY_MDB
=
COMPILE_TARGET
=
exe
COMPILE_TARGET
=
exe
PROJECT_REFERENCES
=
\
PROJECT_REFERENCES
=
\
../../Run/Release/Lua
Interface
.dll
../../Run/Release/
N
Lua.dll
BUILD_DIR
=
../../Run/Release
BUILD_DIR
=
../../Run/Release
LUARUNNER_EXE_MDB
=
LUARUNNER_EXE_MDB
=
LUAINTERFACE_DLL_SOURCE
=
../../Run/Release/Lua
Interface
.dll
LUAINTERFACE_DLL_SOURCE
=
../../Run/Release/
N
Lua.dll
KOPILUA_DLL_SOURCE
=
../../Run/Release/KopiLua.dll
KOPILUA_DLL_SOURCE
=
../../Run/Release/KopiLua.dll
endif
endif
...
@@ -42,12 +42,12 @@ ASSEMBLY = ../../Run/Debug_x64/LuaRunner.exe
...
@@ -42,12 +42,12 @@ ASSEMBLY = ../../Run/Debug_x64/LuaRunner.exe
ASSEMBLY_MDB
=
$(ASSEMBLY)
.mdb
ASSEMBLY_MDB
=
$(ASSEMBLY)
.mdb
COMPILE_TARGET
=
exe
COMPILE_TARGET
=
exe
PROJECT_REFERENCES
=
\
PROJECT_REFERENCES
=
\
../../Run/Debug_x64/Lua
Interface
.dll
../../Run/Debug_x64/
N
Lua.dll
BUILD_DIR
=
../../Run/Debug_x64
BUILD_DIR
=
../../Run/Debug_x64
LUARUNNER_EXE_MDB_SOURCE
=
../../Run/Debug_x64/LuaRunner.exe.mdb
LUARUNNER_EXE_MDB_SOURCE
=
../../Run/Debug_x64/LuaRunner.exe.mdb
LUARUNNER_EXE_MDB
=
$(BUILD_DIR)
/LuaRunner.exe.mdb
LUARUNNER_EXE_MDB
=
$(BUILD_DIR)
/LuaRunner.exe.mdb
LUAINTERFACE_DLL_SOURCE
=
../../Run/Debug_x64/Lua
Interface
.dll
LUAINTERFACE_DLL_SOURCE
=
../../Run/Debug_x64/
N
Lua.dll
KOPILUA_DLL_SOURCE
=
../../Run/Debug_x64/KopiLua.dll
KOPILUA_DLL_SOURCE
=
../../Run/Debug_x64/KopiLua.dll
endif
endif
...
@@ -59,11 +59,11 @@ ASSEMBLY = ../../Run/Release_x64/LuaRunner.exe
...
@@ -59,11 +59,11 @@ ASSEMBLY = ../../Run/Release_x64/LuaRunner.exe
ASSEMBLY_MDB
=
ASSEMBLY_MDB
=
COMPILE_TARGET
=
exe
COMPILE_TARGET
=
exe
PROJECT_REFERENCES
=
\
PROJECT_REFERENCES
=
\
../../Run/Release_x64/Lua
Interface
.dll
../../Run/Release_x64/
N
Lua.dll
BUILD_DIR
=
../../Run/Release_x64
BUILD_DIR
=
../../Run/Release_x64
LUARUNNER_EXE_MDB
=
LUARUNNER_EXE_MDB
=
LUAINTERFACE_DLL_SOURCE
=
../../Run/Release_x64/Lua
Interface
.dll
LUAINTERFACE_DLL_SOURCE
=
../../Run/Release_x64/
N
Lua.dll
KOPILUA_DLL_SOURCE
=
../../Run/Release_x64/KopiLua.dll
KOPILUA_DLL_SOURCE
=
../../Run/Release_x64/KopiLua.dll
endif
endif
...
@@ -106,7 +106,7 @@ CLEANFILES = $(PROGRAMFILES) $(BINARIES)
...
@@ -106,7 +106,7 @@ CLEANFILES = $(PROGRAMFILES) $(BINARIES)
include
$(top_srcdir)/Makefile.include
include
$(top_srcdir)/Makefile.include
LUAINTERFACE_DLL
=
$(BUILD_DIR)
/Lua
Interface
.dll
LUAINTERFACE_DLL
=
$(BUILD_DIR)
/
N
Lua.dll
KOPILUA_DLL
=
$(BUILD_DIR)
/KopiLua.dll
KOPILUA_DLL
=
$(BUILD_DIR)
/KopiLua.dll
LUARUNNER
=
$(BUILD_DIR)
/luarunner
LUARUNNER
=
$(BUILD_DIR)
/luarunner
...
...
Applications/LuaRunner/Properties/AssemblyInfo.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -27,18 +27,18 @@ using System;
...
@@ -27,18 +27,18 @@ using System;
using
System.Reflection
;
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
using
System.Runtime.InteropServices
;
using
Lua
Interface
.Config
;
using
N
Lua.Config
;
// Information about this assembly is defined by the following attributes.
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
// Change them to the values specific to your project.
[
assembly
:
AssemblyTitle
(
"LuaRunner"
)]
[
assembly
:
AssemblyTitle
(
"LuaRunner"
)]
[
assembly
:
AssemblyDescription
(
Consts
.
Lua
Interface
Description
)]
[
assembly
:
AssemblyDescription
(
Consts
.
N
LuaDescription
)]
[
assembly
:
AssemblyConfiguration
(
Consts
.
Lua
Interface
Configuration
)]
[
assembly
:
AssemblyConfiguration
(
Consts
.
N
LuaConfiguration
)]
[
assembly
:
AssemblyCompany
(
Consts
.
Lua
Interface
Company
)]
[
assembly
:
AssemblyCompany
(
Consts
.
N
LuaCompany
)]
[
assembly
:
AssemblyProduct
(
Consts
.
Lua
Interface
Product
)]
[
assembly
:
AssemblyProduct
(
Consts
.
N
LuaProduct
)]
[
assembly
:
AssemblyCopyright
(
Consts
.
Lua
Interface
Copyright
)]
[
assembly
:
AssemblyCopyright
(
Consts
.
N
LuaCopyright
)]
[
assembly
:
AssemblyTrademark
(
Consts
.
Lua
Interface
Trademark
)]
[
assembly
:
AssemblyTrademark
(
Consts
.
N
LuaTrademark
)]
// Setting ComVisible to false makes the types in this assembly not visible
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// to COM components. If you need to access a type in this assembly from
...
...
COPYRIGHT
View file @
be9f0df6
Lua
Interface
License
N
Lua License
--------------------
--------------------
Lua
Interface
is licensed under the terms of the MIT license reproduced below.
N
Lua is licensed under the terms of the MIT license reproduced below.
This mean that Lua
Interface
is free software and can be used for both academic and
This mean that
N
Lua is free software and can be used for both academic and
commercial purposes at absolutely no cost.
commercial purposes at absolutely no cost.
===============================================================================
===============================================================================
...
...
ConsoleTest/ConsoleTest.csproj
View file @
be9f0df6
...
@@ -52,9 +52,9 @@
...
@@ -52,9 +52,9 @@
<None
Include=
"App.config"
/>
<None
Include=
"App.config"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\Core\Lua
Interface\LuaInterface
.csproj"
>
<ProjectReference
Include=
"..\Core\
N
Lua
\NLua
.csproj"
>
<Project>
{f55cabbb-4108-4a39-94e1-581fd46dc021}
</Project>
<Project>
{f55cabbb-4108-4a39-94e1-581fd46dc021}
</Project>
<Name>
Lua
Interface
</Name>
<Name>
N
Lua
</Name>
</ProjectReference>
</ProjectReference>
</ItemGroup>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
...
...
ConsoleTest/Program.cs
View file @
be9f0df6
...
@@ -3,7 +3,7 @@ using System.Collections.Generic;
...
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using
System.Linq
;
using
System.Linq
;
using
System.Text
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Threading.Tasks
;
using
Lua
Interface
;
using
N
Lua
;
namespace
ConsoleTest
namespace
ConsoleTest
{
{
...
@@ -15,7 +15,7 @@ namespace ConsoleTest
...
@@ -15,7 +15,7 @@ namespace ConsoleTest
using
(
Lua
lua
=
new
Lua
())
{
using
(
Lua
lua
=
new
Lua
())
{
lua
.
DoString
(
"luanet.load_assembly('mscorlib')"
);
lua
.
DoString
(
"luanet.load_assembly('mscorlib')"
);
lua
.
DoString
(
"luanet.load_assembly('ConsoleTest')"
);
lua
.
DoString
(
"luanet.load_assembly('ConsoleTest')"
);
lua
.
DoString
(
"TestClass=luanet.import_type('Lua
Interface
Test.Mock.TestClass')"
);
lua
.
DoString
(
"TestClass=luanet.import_type('
N
LuaTest.Mock.TestClass')"
);
lua
.
DoString
(
"test=TestClass()"
);
lua
.
DoString
(
"test=TestClass()"
);
try
{
try
{
...
...
Core/LuaInterface/luainterface.pc.in
deleted
100644 → 0
View file @
2e203153
Name: LuaInterface
Description: LuaInterface
Version: 2.x
Requires:
Libs: -r:@expanded_libdir@/@PACKAGE@/LuaInterface.dll
Core/Makefile.am
View file @
be9f0df6
...
@@ -3,14 +3,14 @@ EXTRA_DIST =
...
@@ -3,14 +3,14 @@ EXTRA_DIST =
#Warning: This is an automatically generated file, do not edit!
#Warning: This is an automatically generated file, do not edit!
if
ENABLE_DEBUG_X86
if
ENABLE_DEBUG_X86
SUBDIRS
=
KopiLua Lua
Interface
SUBDIRS
=
KopiLua
N
Lua
endif
endif
if
ENABLE_RELEASE_X86
if
ENABLE_RELEASE_X86
SUBDIRS
=
KopiLua Lua
Interface
SUBDIRS
=
KopiLua
N
Lua
endif
endif
if
ENABLE_DEBUG_X64
if
ENABLE_DEBUG_X64
SUBDIRS
=
KopiLua Lua
Interface
SUBDIRS
=
KopiLua
N
Lua
endif
endif
if
ENABLE_RELEASE_X64
if
ENABLE_RELEASE_X64
SUBDIRS
=
KopiLua Lua
Interface
SUBDIRS
=
KopiLua
N
Lua
endif
endif
Core/Lua
Interface
/CheckType.cs
→
Core/
N
Lua/CheckType.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
using
System
;
using
System
;
using
System.Reflection
;
using
System.Reflection
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
Lua
Interface
.Method
;
using
N
Lua.Method
;
using
Lua
Interface
.Extensions
;
using
N
Lua.Extensions
;
namespace
Lua
Interface
namespace
N
Lua
{
{
#
if
USE_KOPILUA
#
if
USE_KOPILUA
using
LuaCore
=
KopiLua
.
Lua
;
using
LuaCore
=
KopiLua
.
Lua
;
...
...
Core/Lua
Interface
/Config/Lua
Interface
Config.cs
→
Core/
N
Lua/Config/
N
LuaConfig.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
*
*
...
@@ -23,21 +23,21 @@
...
@@ -23,21 +23,21 @@
*/
*/
using
System
;
using
System
;
namespace
Lua
Interface
.Config
namespace
N
Lua.Config
{
{
public
static
class
Consts
public
static
class
Consts
{
{
public
const
string
Lua
Interface
Description
=
"Bridge between the Lua runtime and the CLR"
;
public
const
string
N
LuaDescription
=
"Bridge between the Lua runtime and the CLR"
;
#if DEBUG
#if DEBUG
public
const
string
Lua
Interface
Configuration
=
"Debug"
;
public
const
string
N
LuaConfiguration
=
"Debug"
;
#else
#else
public
const
string
Lua
Interface
Configuration
=
"Release"
;
public
const
string
N
LuaConfiguration
=
"Release"
;
#endif
#endif
public
const
string
Lua
Interface
Company
=
"Lua
Interface
Productions"
;
public
const
string
N
LuaCompany
=
"
N
Lua Productions"
;
public
const
string
Lua
Interface
Product
=
"Lua
Interface
"
;
public
const
string
N
LuaProduct
=
"
N
Lua"
;
public
const
string
Lua
Interface
Copyright
=
"Copyright 2003-2008 Fabio Mascarenhas, Kevin Hesterm and 2012 Megax"
;
public
const
string
N
LuaCopyright
=
"Copyright 2003-2008 Fabio Mascarenhas, Kevin Hesterm and 2012 Megax"
;
public
const
string
Lua
Interface
Trademark
=
"MIT license"
;
public
const
string
N
LuaTrademark
=
"MIT license"
;
public
const
string
Lua
Interface
Version
=
"2.0.4"
;
public
const
string
N
LuaVersion
=
"2.0.4"
;
public
const
string
Lua
Interface
FileVersion
=
"2.0.4.0"
;
public
const
string
N
LuaFileVersion
=
"2.0.4.0"
;
}
}
}
}
\ No newline at end of file
Core/Lua
Interface
/Event/DebugHookEventArgs.cs
→
Core/
N
Lua/Event/DebugHookEventArgs.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
*/
*/
using
System
;
using
System
;
namespace
Lua
Interface
.Event
namespace
N
Lua.Event
{
{
#if USE_KOPILUA
#if USE_KOPILUA
using
LuaCore
=
KopiLua
.
Lua
;
using
LuaCore
=
KopiLua
.
Lua
;
...
...
Core/Lua
Interface
/Event/EventCodes.cs
→
Core/
N
Lua/Event/EventCodes.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
*/
*/
using
System
;
using
System
;
namespace
Lua
Interface
.Event
namespace
N
Lua.Event
{
{
/// <summary>
/// <summary>
/// Event codes for lua hook function
/// Event codes for lua hook function
...
...
Core/Lua
Interface
/Event/EventMasks.cs
→
Core/
N
Lua/Event/EventMasks.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
*/
*/
using
System
;
using
System
;
namespace
Lua
Interface
.Event
namespace
N
Lua.Event
{
{
/// <summary>
/// <summary>
/// Event masks for lua hook callback
/// Event masks for lua hook callback
...
...
Core/Lua
Interface
/Event/HookExceptionEventArgs.cs
→
Core/
N
Lua/Event/HookExceptionEventArgs.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
*/
*/
using
System
;
using
System
;
namespace
Lua
Interface
.Event
namespace
N
Lua.Event
{
{
public
class
HookExceptionEventArgs
:
EventArgs
public
class
HookExceptionEventArgs
:
EventArgs
{
{
...
...
Core/Lua
Interface
/Exceptions/LuaException.cs
→
Core/
N
Lua/Exceptions/LuaException.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
using
System
;
using
System
;
using
System.Runtime.Serialization
;
using
System.Runtime.Serialization
;
namespace
Lua
Interface
.Exceptions
namespace
N
Lua.Exceptions
{
{
/// <summary>
/// <summary>
/// Exceptions thrown by the Lua runtime
/// Exceptions thrown by the Lua runtime
...
...
Core/Lua
Interface
/Exceptions/LuaScriptException.cs
→
Core/
N
Lua/Exceptions/LuaScriptException.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
*/
*/
using
System
;
using
System
;
namespace
Lua
Interface
.Exceptions
namespace
N
Lua.Exceptions
{
{
/// <summary>
/// <summary>
/// Exceptions thrown by the Lua runtime because of errors in the script
/// Exceptions thrown by the Lua runtime because of errors in the script
...
...
Core/Lua
Interface
/Extensions/GeneralExtensions.cs
→
Core/
N
Lua/Extensions/GeneralExtensions.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
*
*
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
*/
*/
using
System
;
using
System
;
namespace
Lua
Interface
.Extensions
namespace
N
Lua.Extensions
{
{
/// <summary>
/// <summary>
/// Some random extension stuff.
/// Some random extension stuff.
...
...
Core/Lua
Interface
/GenerateEventAssembly/ClassGenerator.cs
→
Core/
N
Lua/GenerateEventAssembly/ClassGenerator.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
*/
*/
using
System
;
using
System
;
namespace
Lua
Interface
namespace
N
Lua
{
{
#
if
USE_KOPILUA
#
if
USE_KOPILUA
using
LuaCore
=
KopiLua
.
Lua
;
using
LuaCore
=
KopiLua
.
Lua
;
...
...
Core/Lua
Interface
/GenerateEventAssembly/CodeGeneration.cs
→
Core/
N
Lua/GenerateEventAssembly/CodeGeneration.cs
View file @
be9f0df6
/*
/*
* This file is part of Lua
Interface
.
* This file is part of
N
Lua.
*
*
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz.
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2012 Megax <http://megax.yeahunter.hu/>
...
@@ -31,9 +31,9 @@ using System.Reflection.Emit;
...
@@ -31,9 +31,9 @@ using System.Reflection.Emit;
#endif
#endif
using
System.Collections
;
using
System.Collections
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
Lua
Interface
.Method
;
using
N
Lua.Method
;
namespace
Lua
Interface
namespace
N
Lua
{
{
/*
/*
* Dynamically generates new types from existing types and
* Dynamically generates new types from existing types and
...
@@ -70,11 +70,11 @@ namespace LuaInterface
...
@@ -70,11 +70,11 @@ namespace LuaInterface
// Create an assembly name
// Create an assembly name
assemblyName
=
new
AssemblyName
();
assemblyName
=
new
AssemblyName
();
assemblyName
.
Name
=
"Lua
Interface
_generatedcode"
;
assemblyName
.
Name
=
"
N
Lua_generatedcode"
;
// Create a new assembly with one module.
// Create a new assembly with one module.
#if !MONOTOUCH
#if !MONOTOUCH
newAssembly
=
Thread
.
GetDomain
().
DefineDynamicAssembly
(
assemblyName
,
AssemblyBuilderAccess
.
Run
);
newAssembly
=
Thread
.
GetDomain
().
DefineDynamicAssembly
(
assemblyName
,
AssemblyBuilderAccess
.
Run
);
newModule
=
newAssembly
.
DefineDynamicModule
(
"Lua
Interface
_generatedcode"
);
newModule
=
newAssembly
.
DefineDynamicModule
(
"
N
Lua_generatedcode"
);
#endif
#endif
}
}
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment