|
Electroneum
|
#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <stdint.h>#include <string.h>#include "aligned.h"
Classes | |
| struct | control |
Macros | |
| #define | MAGIC 0xaa0817161500ff81 |
| #define | MAGIC_FREED 0xaa0817161500ff82 |
Functions | |
| static int | is_power_of_2 (size_t n) |
| static void | local_abort (const char *msg) |
| void * | aligned_malloc (size_t bytes, size_t align) |
| void * | aligned_realloc (void *ptr, size_t bytes, size_t align) |
| void | aligned_free (void *ptr) |
| #define MAGIC 0xaa0817161500ff81 |
| #define MAGIC_FREED 0xaa0817161500ff82 |
| void aligned_free | ( | void * | ptr | ) |
| void* aligned_malloc | ( | size_t | bytes, |
| size_t | align | ||
| ) |
| void* aligned_realloc | ( | void * | ptr, |
| size_t | bytes, | ||
| size_t | align | ||
| ) |
|
inlinestatic |
|
static |