|
@@ -1,8 +1,10 @@
|
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
|
+using System.Runtime.InteropServices;
|
|
|
using Lua.CodeAnalysis;
|
|
using Lua.CodeAnalysis;
|
|
|
|
|
|
|
|
namespace Lua;
|
|
namespace Lua;
|
|
|
|
|
|
|
|
|
|
+[StructLayout(LayoutKind.Auto)]
|
|
|
public readonly record struct LuaFunctionExecutionContext
|
|
public readonly record struct LuaFunctionExecutionContext
|
|
|
{
|
|
{
|
|
|
public required LuaState State { get; init; }
|
|
public required LuaState State { get; init; }
|