#include <string.h>
#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
Go to the source code of this file.
|
void * | memory_new (size_t count, size_t size) |
|
void * | memory_new_with_init (int count, int size, void *init) |
|
void * | memory_realloc_with_data (void **data, int old, int newsize, int size, func_memory_free func, int elementsize) |
|
void * | memory_realloc (void *data, int count, int size) |
|
void | memory_free (void *data) |
|
void ** | memory_new_2dim (int row, int col, int size) |
|
void | memory_free_2dim (void **data, int row, int col, func_memory_free func) |
|
void ** | memory_copy_2dim (void **dst, void **src, int row, int col, int size) |
|
typedef void(* func_memory_free)(void *data) |
void** memory_copy_2dim |
( |
void ** |
dst, |
|
|
void ** |
src, |
|
|
int |
row, |
|
|
int |
col, |
|
|
int |
size |
|
) |
| |
void memory_free |
( |
void * |
data | ) |
|
void* memory_new |
( |
size_t |
count, |
|
|
size_t |
size |
|
) |
| |
void** memory_new_2dim |
( |
int |
row, |
|
|
int |
col, |
|
|
int |
size |
|
) |
| |
void* memory_new_with_init |
( |
int |
count, |
|
|
int |
size, |
|
|
void * |
init |
|
) |
| |
void* memory_realloc |
( |
void * |
data, |
|
|
int |
count, |
|
|
int |
size |
|
) |
| |
void* memory_realloc_with_data |
( |
void ** |
data, |
|
|
int |
old, |
|
|
int |
newsize, |
|
|
int |
size, |
|
|
func_memory_free |
func, |
|
|
int |
elementsize |
|
) |
| |