mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
64 lines
3.1 KiB
C#
64 lines
3.1 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
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/TempAllocator.h#L174">Jolt/Core/TempAllocator.h:174</see>
|
|
/// <br/>
|
|
/// <c>explicit TempAllocatorImplWithMallocFallback(uint inSize)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructs the allocator with an initial fixed block if inSize
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorImplWithMallocFallback_Create")]
|
|
public static partial TempAllocatorImplWithMallocFallback TempAllocatorImplWithMallocFallback_Create(uint size);
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorImplWithMallocFallback_Destroy")]
|
|
public static partial void TempAllocatorImplWithMallocFallback_Destroy(TempAllocatorImplWithMallocFallback self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/TempAllocator.h#L180">Jolt/Core/TempAllocator.h:180</see>
|
|
/// <br/>
|
|
/// <c>virtual void * Allocate(uint inSize) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: TempAllocator
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorImplWithMallocFallback_Allocate")]
|
|
public static partial void* TempAllocatorImplWithMallocFallback_Allocate(TempAllocatorImplWithMallocFallback self, uint size);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/TempAllocator.h#L189">Jolt/Core/TempAllocator.h:189</see>
|
|
/// <br/>
|
|
/// <c>virtual void Free(void *inAddress, uint inSize) override</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// See: TempAllocator
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorImplWithMallocFallback_Free")]
|
|
public static partial void TempAllocatorImplWithMallocFallback_Free(TempAllocatorImplWithMallocFallback self, void* address, uint size);
|
|
[LibraryImport("jolt", EntryPoint = "TempAllocatorImplWithMallocFallback_AsTempAllocator")]
|
|
public static partial TempAllocator TempAllocatorImplWithMallocFallback_AsTempAllocator(TempAllocatorImplWithMallocFallback self);
|
|
}
|
|
}
|
|
}
|