mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
34 lines
1.2 KiB
C#
34 lines
1.2 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
|
|
{
|
|
/// <inheritdoc cref="LFHMAllocatorContext.Create(LFHMAllocator, uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "LFHMAllocatorContext_Create")]
|
|
public static partial LFHMAllocatorContext LFHMAllocatorContext_Create(
|
|
LFHMAllocator allocator,
|
|
uint blockSize
|
|
);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "LFHMAllocatorContext_Destroy")]
|
|
public static partial void LFHMAllocatorContext_Destroy(LFHMAllocatorContext self);
|
|
|
|
/// <inheritdoc cref="LFHMAllocatorContext.Allocate(uint, uint, out uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "LFHMAllocatorContext_Allocate")]
|
|
public static partial Brutal.Bool8 LFHMAllocatorContext_Allocate(
|
|
LFHMAllocatorContext self,
|
|
uint size,
|
|
uint alignment,
|
|
out uint writeOffset
|
|
);
|
|
}
|
|
}
|
|
}
|