mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
50 lines
2.4 KiB
C#
50 lines
2.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
|
|
{
|
|
/// <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);
|
|
}
|
|
}
|
|
}
|