csutil/alignedalloc.h File Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Namespaces | Functions
csutil/alignedalloc.h File Reference

Aligned memory allocations. More...

Go to the source code of this file.

## Namespaces
namespace | CS
| Main namespace for CrystalSpace.
namespace | CS::Memory
| Memory allocation.
## Functions
void | CS::Memory::AlignedFree (void *ptr)
| Free a block of memory allocated with AlignedMalloc.
void * | CS::Memory::AlignedMalloc (size_t size, size_t align)
| Allocate a block of memory, with the start address being aligned to a multiple of `align` bytes.
void * | CS::Memory::AlignedRealloc (void *ptr, size_t size, size_t align)
| Reallocate a block of memory with a new size, with the start address being aligned to a multiple of `align` bytes.

## Detailed Description

Aligned memory allocations.

Definition in file alignedalloc.h.