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
1c5f776c
Commit
1c5f776c
authored
Oct 09, 2014
by
Vinicius Jarina
Browse files
Merge pull request #107 from Mervill/Unity3D
Unity3D compatibility (2).
parents
a31a3d5a
67a2a115
Changes
22
Show whitespace changes
Inline
Side-by-side
Core/NLua/CheckType.cs
View file @
1c5f776c
Core/NLua/Event/DebugHookEventArgs.cs
View file @
1c5f776c
Core/NLua/Extensions/GeneralExtensions.cs
View file @
1c5f776c
Core/NLua/GenerateEventAssembly/ClassGenerator.cs
View file @
1c5f776c
Core/NLua/GenerateEventAssembly/DelegateGenerator.cs
View file @
1c5f776c
Core/NLua/Lua.cs
View file @
1c5f776c
Core/NLua/LuaFunction.cs
View file @
1c5f776c
Core/NLua/LuaLib/LuaLib.cs
View file @
1c5f776c
Core/NLua/LuaTable.cs
View file @
1c5f776c
Core/NLua/LuaUserData.cs
View file @
1c5f776c
Core/NLua/Metatables.cs
View file @
1c5f776c
...
...
@@ -339,6 +339,8 @@ namespace NLua
#if WINDOWS_PHONE
Debug
.
WriteLine
(
"lua stack depth: {0}"
,
depth
);
#elif UNITY_3D
UnityEngine
.
Debug
.
Log
(
string
.
Format
(
"lua stack depth: {0}"
,
depth
));
#elif !SILVERLIGHT
Debug
.
Print
(
"lua stack depth: {0}"
,
depth
);
#endif
...
...
@@ -356,6 +358,8 @@ namespace NLua
#if WINDOWS_PHONE
Debug
.
WriteLine
(
"{0}: ({1}) {2}"
,
i
,
typestr
,
strrep
);
#elif UNITY_3D
UnityEngine
.
Debug
.
Log
(
string
.
Format
(
"{0}: ({1}) {2}"
,
i
,
typestr
,
strrep
));
#elif !SILVERLIGHT
Debug
.
Print
(
"{0}: ({1}) {2}"
,
i
,
typestr
,
strrep
);
#endif
...
...
Core/NLua/Method/LuaMethodWrapper.cs
View file @
1c5f776c
Core/NLua/NLua.Android.csproj
View file @
1c5f776c
...
...
@@ -87,6 +87,7 @@
<Compile
Include=
"Method\MethodCache.cs"
/>
<Compile
Include=
"Method\RegisterEventHandler.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"Platform\CLSCompliantAttribute.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"Makefile.am"
/>
...
...
Core/NLua/NLua.Net35.csproj
View file @
1c5f776c
...
...
@@ -100,6 +100,7 @@
<Compile
Include=
"LuaLib\LuaLib.cs"
/>
<Compile
Include=
"Config\NLuaConfig.cs"
/>
<Compile
Include=
"ObjectTranslatorPool.cs"
/>
<Compile
Include=
"Platform\CLSCompliantAttribute.cs"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildBinPath)\Microsoft.CSharp.targets"
/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
...
...
Core/NLua/NLua.Net40.csproj
View file @
1c5f776c
...
...
@@ -103,6 +103,7 @@
<Compile
Include=
"LuaLib\LuaLib.cs"
/>
<Compile
Include=
"Config\NLuaConfig.cs"
/>
<Compile
Include=
"ObjectTranslatorPool.cs"
/>
<Compile
Include=
"Platform\CLSCompliantAttribute.cs"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildBinPath)\Microsoft.CSharp.targets"
/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
...
...
Core/NLua/NLua.Net45.csproj
View file @
1c5f776c
...
...
@@ -107,6 +107,7 @@
<Compile
Include=
"LuaLib\LuaLib.cs"
/>
<Compile
Include=
"Config\NLuaConfig.cs"
/>
<Compile
Include=
"ObjectTranslatorPool.cs"
/>
<Compile
Include=
"Platform\CLSCompliantAttribute.cs"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildBinPath)\Microsoft.CSharp.targets"
/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
...
...
Core/NLua/NLua.WP7.csproj
View file @
1c5f776c
...
...
@@ -90,6 +90,7 @@
<Compile
Include=
"ObjectTranslatorPool.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"ProxyType.cs"
/>
<Compile
Include=
"Platform\CLSCompliantAttribute.cs"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\KopiLua\KopiLua\KopiLua-wp7.csproj"
>
...
...
Core/NLua/NLua.WP8.csproj
View file @
1c5f776c
...
...
@@ -124,6 +124,7 @@
<Compile
Include=
"ObjectTranslatorPool.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"ProxyType.cs"
/>
<Compile
Include=
"Platform\CLSCompliantAttribute.cs"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\KeraLua\external\lua\wp8_build\lua\lua52\lua52.vcxproj"
>
...
...
Core/NLua/NLua.iOS.csproj
View file @
1c5f776c
...
...
@@ -84,6 +84,7 @@
<Compile
Include=
"ObjectTranslator.cs"
/>
<Compile
Include=
"ProxyType.cs"
/>
<Compile
Include=
"ObjectTranslatorPool.cs"
/>
<Compile
Include=
"Platform\CLSCompliantAttribute.cs"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\KeraLua\src\KeraLua.iOS.csproj"
>
...
...
Core/NLua/ObjectTranslator.cs
View file @
1c5f776c
Prev
1
2
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