SyTen
l_malloc.h File Reference

Aligned memory allocation functions. More...

#include <cstddef>
+ Include dependency graph for l_malloc.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  syten
 Syten namespace.
 

Functions

void syten::l_free (void *ptr)
 Frees the space of memory pointed to be ptr. More...
 
void * syten::l_malloc (std::size_t const size, std::size_t const alignment=64)
 Allocates a region of heap memory at least size bytes large, aligned to alignment boundary. More...
 
std::size_t syten::smallest_multiple (std::size_t const factor, std::size_t const lower_bound)
 Returns the smallest multiple of factor that is at equal to or larger than lower_bound. More...
 

Detailed Description

Aligned memory allocation functions.