File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Lua.NET
2
2
![ Logo] ( https://raw.githubusercontent.com/tilkinsc/Lua.NET/main/Lua.NET.Logo.png )
3
3
4
- C# .NET Core 7.0 Lua bindings and helper functions.
4
+ C# .NET Core 7.0
5
+ Lua.NET contains full bindings to Lua5.1.5, Lua5.2.4, Lua5.3.6, Lua.5.4.6 and LuaJIT
5
6
6
7
https://github.com/tilkinsc/Lua.NET
7
8
Copyright © Cody Tilkins 2022 MIT License
@@ -24,7 +25,7 @@ C# is liable to GC your delegates otherwise.
24
25
25
26
# Examples
26
27
27
- Example Usage Lua5.4.4 :
28
+ Example Usage Lua5.4.6 :
28
29
``` C#
29
30
// test1.csproj
30
31
// <PropertyGroup>
@@ -114,6 +115,10 @@ Example Usage NativeAOT DLL Library:
114
115
// <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
115
116
// <PublishAot>true</PublishAot>
116
117
// </PropertyGroup>
118
+ //
119
+ // dotnet publish -r win-x64 -c Release
120
+ // This will emit test3.dll inside of bin/.../native and bin/.../publish
121
+ // I use the publish one
117
122
118
123
using System .Runtime .InteropServices ;
119
124
using LuaJIT ;
@@ -157,7 +162,7 @@ using static LuaJIT.Lua;
157
162
158
163
namespace test4 ;
159
164
160
- public class Test1
165
+ public class Test4
161
166
{
162
167
163
168
public static void Main (string [] args )
You can’t perform that action at this time.
0 commit comments