Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
aligned_alloc.cpp File Reference
#include <pch.hpp>
#include <helios/memory/aligned_alloc.hpp>
#include <helios/assert.hpp>
#include <helios/memory/common.hpp>
#include <helios/memory/details/profile.hpp>
#include <cstddef>
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  helios
namespace  helios::mem

Functions

void * helios::mem::AlignedAlloc (size_t alignment, size_t size, bool enable_profile=true) noexcept
 Allocates memory with the specified alignment.
void helios::mem::AlignedFree (void *ptr, bool enable_profile=true) noexcept
 Frees memory allocated with AlignedAlloc.