mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
38 lines
1.4 KiB
C#
38 lines
1.4 KiB
C#
// <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
|
|
);
|
|
}
|
|
}
|
|
}
|