//
// 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 = "LFHMAllocator_Create")]
public static partial LFHMAllocator LFHMAllocator_Create();
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Destroy")]
public static partial void LFHMAllocator_Destroy(LFHMAllocator self);
///
///
/// C++:
/// Jolt/Core/LockFreeHashMap.h:21
///
/// inline void Init(uint inObjectStoreSizeBytes)
///
///
///
///
/// Initialize the allocator
/// @param inObjectStoreSizeBytes Number of bytes to reserve for all key value pairs
///
///
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Init")]
public static partial void LFHMAllocator_Init(LFHMAllocator self, uint objectStoreSizeBytes);
///
///
/// C++:
/// Jolt/Core/LockFreeHashMap.h:24
///
/// inline void Clear()
///
///
///
///
/// Clear all allocations
///
///
[LibraryImport("jolt", EntryPoint = "LFHMAllocator_Clear")]
public static partial void LFHMAllocator_Clear(LFHMAllocator self);
}
}
}