Ir al código fuente de este archivo.
'defines' |
#define | _libmng_memory_h_ |
#define | MNG_ALLOC(H, P, L) |
#define | MNG_ALLOCX(H, P, L) { P = H->fMemalloc ((mng_size_t)(L)); } |
#define | MNG_FREE(H, P, L) { if (P) { H->fMemfree (P, (mng_size_t)(L)); P = 0; } } |
#define | MNG_FREEX(H, P, L) { if (P) { H->fMemfree (P, (mng_size_t)(L)); } } |
#define | MNG_COPY(D, S, L) { memcpy (D, S, (mng_size_t)(L)); } |
Documentación de los 'defines'
#define _libmng_memory_h_ |
#define MNG_ALLOC |
( |
|
H, |
|
|
|
P, |
|
|
|
L |
|
) |
| |
#define MNG_ALLOCX |
( |
|
H, |
|
|
|
P, |
|
|
|
L |
|
) |
| { P = H->fMemalloc ((mng_size_t)(L)); } |
#define MNG_COPY |
( |
|
D, |
|
|
|
S, |
|
|
|
L |
|
) |
| { memcpy (D, S, (mng_size_t)(L)); } |
#define MNG_FREE |
( |
|
H, |
|
|
|
P, |
|
|
|
L |
|
) |
| { if (P) { H->fMemfree (P, (mng_size_t)(L)); P = 0; } } |
#define MNG_FREEX |
( |
|
H, |
|
|
|
P, |
|
|
|
L |
|
) |
| { if (P) { H->fMemfree (P, (mng_size_t)(L)); } } |