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

View file

@ -0,0 +1,50 @@
// <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="TempAllocatorImpl.Create(nuint)"/>
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_Create")]
public static partial TempAllocatorImpl TempAllocatorImpl_Create(nuint size);
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_Destroy")]
public static partial void TempAllocatorImpl_Destroy(TempAllocatorImpl self);
/// <inheritdoc cref="TempAllocatorImpl.Allocate(uint)"/>
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_Allocate")]
public static partial void* TempAllocatorImpl_Allocate(TempAllocatorImpl self, uint size);
/// <inheritdoc cref="TempAllocatorImpl.Free(Ptr, uint)"/>
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_Free")]
public static partial void TempAllocatorImpl_Free(TempAllocatorImpl self, void* address, uint size);
/// <inheritdoc cref="TempAllocatorImpl.IsEmpty()"/>
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_IsEmpty")]
public static partial Brutal.Bool8 TempAllocatorImpl_IsEmpty(TempAllocatorImpl self);
/// <inheritdoc cref="TempAllocatorImpl.GetSize()"/>
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_GetSize")]
public static partial nuint TempAllocatorImpl_GetSize(TempAllocatorImpl self);
/// <inheritdoc cref="TempAllocatorImpl.GetUsage()"/>
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_GetUsage")]
public static partial nuint TempAllocatorImpl_GetUsage(TempAllocatorImpl self);
/// <inheritdoc cref="TempAllocatorImpl.CanAllocate(uint)"/>
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_CanAllocate")]
public static partial Brutal.Bool8 TempAllocatorImpl_CanAllocate(TempAllocatorImpl self, uint size);
/// <inheritdoc cref="TempAllocatorImpl.OwnsMemory(Ptr)"/>
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_OwnsMemory")]
public static partial Brutal.Bool8 TempAllocatorImpl_OwnsMemory(TempAllocatorImpl self, void* address);
}
}
}