Go to the source code of this file.
◆ rz_alloc_init()
RZ_API void rz_alloc_init |
( |
void |
| ) |
|
Definition at line 7 of file alloc.c.
RZ_API void Ht_() free(HtName_(Ht) *ht)
void * realloc(void *ptr, size_t size)
void * malloc(size_t size)
void * calloc(size_t number, size_t size)
References calloc(), free(), malloc(), and realloc().
◆ rz_free_aligned()
RZ_API void rz_free_aligned |
( |
void * |
p | ) |
|
◆ rz_malloc_aligned()
Definition at line 62 of file alloc.c.
63 int offset = alignment - 1 +
sizeof(
void *);
68 void **p2 = (
void **)(((
size_t)(p1) +
offset) & ~(alignment - 1));
References _r_malloc, and NULL.