//
// 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
{
///
///
/// C++:
/// Jolt/Core/TempAllocator.h:27
///
/// virtual void * Allocate(uint inSize) = 0
///
///
///
///
/// Allocates inSize bytes of memory, returned memory address must be JPH_RVECTOR_ALIGNMENT byte aligned
///
///
[LibraryImport("jolt", EntryPoint = "TempAllocator_Allocate")]
public static partial void* TempAllocator_Allocate(TempAllocator self, uint size);
///
///
/// C++:
/// Jolt/Core/TempAllocator.h:30
///
/// virtual void Free(void *inAddress, uint inSize) = 0
///
///
///
///
/// Frees inSize bytes of memory located at inAddress
///
///
[LibraryImport("jolt", EntryPoint = "TempAllocator_Free")]
public static partial void TempAllocator_Free(TempAllocator self, void* address, uint size);
}
}
}