mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
13 lines
412 B
C#
13 lines
412 B
C#
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;
|
|
}
|