World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
void * | av_malloc (size_t size) av_malloc_attrib av_alloc_size(1) |
void * | av_mallocz (size_t size) av_malloc_attrib av_alloc_size(1) |
av_alloc_size (1, 2) void *av_malloc_array(size_t nmemb | |
void * | av_calloc (size_t nmemb, size_t size) av_malloc_attrib |
void * | av_realloc (void *ptr, size_t size) av_alloc_size(2) |
av_warn_unused_result int | av_reallocp (void *ptr, size_t size) |
void * | av_realloc_f (void *ptr, size_t nelem, size_t elsize) |
av_alloc_size (2, 3) void *av_realloc_array(void *ptr | |
int | av_reallocp_array (void *ptr, size_t nmemb, size_t size) |
void * | av_fast_realloc (void *ptr, unsigned int *size, size_t min_size) |
void | av_fast_malloc (void *ptr, unsigned int *size, size_t min_size) |
void | av_fast_mallocz (void *ptr, unsigned int *size, size_t min_size) |
void | av_free (void *ptr) |
void | av_freep (void *ptr) |
char * | av_strdup (const char *s) av_malloc_attrib |
char * | av_strndup (const char *s, size_t len) av_malloc_attrib |
void * | av_memdup (const void *p, size_t size) |
void | av_memcpy_backptr (uint8_t *dst, int back, int cnt) |
void | av_dynarray_add (void *tab_ptr, int *nb_ptr, void *elem) |
av_warn_unused_result int | av_dynarray_add_nofree (void *tab_ptr, int *nb_ptr, void *elem) |
void * | av_dynarray2_add (void **tab_ptr, int *nb_ptr, size_t elem_size, const uint8_t *elem_data) |
static int | av_size_mult (size_t a, size_t b, size_t *r) |
void | av_max_alloc (size_t max) |
Переменные | |
size_t | size |
size_t | nmemb |
Memory handling functions
См. определение в файле mem.h