This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View file

@ -0,0 +1,13 @@
namespace Brutal.JoltApi;
// The shim's JoltArrayBlock header (Generated/Shim/JoltInterop.h, which static_asserts this layout), read in place
// by NativeArray and NativeHandleArray instead of a native call per field
[StructLayout(LayoutKind.Sequential)]
internal struct NativeArrayBlock
{
public nint Data;
public ulong Count;
public nint Owner;
public nint Destroy;
public ulong Stride;
}