//
// 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 = "TempAllocatorImpl_Create")]
public static partial TempAllocatorImpl TempAllocatorImpl_Create(nuint size);
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_Destroy")]
public static partial void TempAllocatorImpl_Destroy(TempAllocatorImpl self);
///
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_Allocate")]
public static partial void* TempAllocatorImpl_Allocate(TempAllocatorImpl self, uint size);
///
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_Free")]
public static partial void TempAllocatorImpl_Free(TempAllocatorImpl self, void* address, uint size);
///
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_IsEmpty")]
public static partial Brutal.Bool8 TempAllocatorImpl_IsEmpty(TempAllocatorImpl self);
///
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_GetSize")]
public static partial nuint TempAllocatorImpl_GetSize(TempAllocatorImpl self);
///
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_GetUsage")]
public static partial nuint TempAllocatorImpl_GetUsage(TempAllocatorImpl self);
///
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_CanAllocate")]
public static partial Brutal.Bool8 TempAllocatorImpl_CanAllocate(TempAllocatorImpl self, uint size);
///
[LibraryImport("jolt", EntryPoint = "TempAllocatorImpl_OwnsMemory")]
public static partial Brutal.Bool8 TempAllocatorImpl_OwnsMemory(TempAllocatorImpl self, void* address);
}
}
}