Header defining an aligned memory allocator. More...
Go to the source code of this file.
Classes | |
class | osvr::util::AlignedAllocDeleter |
Deleter class matching alignedAlloc. More... | |
Namespaces | |
osvr | |
< | |
osvr::util | |
The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems. | |
Functions | |
void * | osvr::util::alignedAlloc (size_t bytes, size_t alignment=OSVR_DEFAULT_ALIGN_SIZE) |
Aligned allocation function, gives a pointer to a block of memory aligned to a memory boundary. | |
void | osvr::util::alignedFree (void *p) |
Aligned deallocation function, uses the pointer to the original memory block to deallocate it. | |