|
|
|
@ -108,10 +108,12 @@ extern "C++" |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* The allocation functions return a pointer, and the error code |
|
|
|
|
* is written to through the `p_error' parameter. See below for |
|
|
|
|
* for documentation. |
|
|
|
|
* is written to through the `p_error' parameter. |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
/* The `q' variants of the functions below (`q' for `quick') don't fill */ |
|
|
|
|
/* the allocated or reallocated memory with zero bytes. */ |
|
|
|
|
|
|
|
|
|
FT_BASE( FT_Pointer ) |
|
|
|
|
ft_mem_alloc( FT_Memory memory, |
|
|
|
|
FT_Long size, |
|
|
|
@ -143,6 +145,9 @@ extern "C++" |
|
|
|
|
const void* P ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* The `Q' variants of the macros below (`Q' for `quick') don't fill */ |
|
|
|
|
/* the allocated or reallocated memory with zero bytes. */ |
|
|
|
|
|
|
|
|
|
#define FT_MEM_ALLOC( ptr, size ) \ |
|
|
|
|
FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, \
|
|
|
|
|
(FT_Long)(size), \
|
|
|
|
|