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

View file

@ -0,0 +1,38 @@
// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
public static partial class Jolt
{
public static unsafe partial class PInvoke
{
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Create")]
public static partial LFHMAllocator LFHMAllocator_Create();
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Destroy")]
public static partial void LFHMAllocator_Destroy(LFHMAllocator self);
/// <inheritdoc cref="LFHMAllocator.Init(uint)"/>
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Init")]
public static partial void LFHMAllocator_Init(LFHMAllocator self, uint objectStoreSizeBytes);
/// <inheritdoc cref="LFHMAllocator.Clear()"/>
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Clear")]
public static partial void LFHMAllocator_Clear(LFHMAllocator self);
/// <inheritdoc cref="LFHMAllocator.Allocate(uint, ref uint, ref uint)"/>
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Allocate")]
public static partial void LFHMAllocator_Allocate(
LFHMAllocator self,
uint blockSize,
ref uint begin,
ref uint end
);
}
}
}