codex
|
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
Classes | |
struct | array |
Macros | |
#define | container_of(p, t, m) ((t*)((char*)(p) - offsetof(t, m))) |
Typedefs | |
typedef uint32_t | u32 |
Functions | |
char * | array_alloc (size_t n) |
size_t | array_size (char *p) |
void | array_destroy (char *p) |
typedef uint32_t u32 |
char * array_alloc | ( | size_t | n | ) |
void array_destroy | ( | char * | p | ) |
size_t array_size | ( | char * | p | ) |