mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
13
Brutal.Jolt/Manual/NativeArrayBlock.cs
Normal file
13
Brutal.Jolt/Manual/NativeArrayBlock.cs
Normal 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;
|
||||
}
|
||||
Loading…
Reference in a new issue