fcml
1.2.2
|
API for environment configuration. More...
#include "fcml_types.h"
Go to the source code of this file.
Typedefs | |
typedef fcml_ptr(* | fcml_fp_env_memory_alloc_handler) (fcml_usize size) |
Memory allocator handler function pointer declaration. More... | |
typedef fcml_ptr(* | fcml_fp_env_memory_realloc_handler) (fcml_ptr ptr, fcml_usize size) |
Memory reallocator handler function pointer declaration. More... | |
typedef void(* | fcml_fp_env_memory_free_handler) (fcml_ptr memory_block) |
Memory deallocator handler function pointer declaration. More... | |
Functions | |
LIB_EXPORT fcml_fp_env_memory_alloc_handler LIB_CALL | fcml_fn_env_register_memory_alloc_handler (fcml_fp_env_memory_alloc_handler handler) |
Registers the new dedicated handler responsible for allocating memory for the sake of internal FCML implementation. More... | |
LIB_EXPORT fcml_fp_env_memory_realloc_handler LIB_CALL | fcml_fn_env_register_memory_realloc_handler (fcml_fp_env_memory_realloc_handler handler) |
Registers the new dedicated handler responsible for reallocating memory for the sake of internal FCML implementation. More... | |
LIB_EXPORT fcml_fp_env_memory_free_handler LIB_CALL | fcml_fn_env_register_memory_free_handler (fcml_fp_env_memory_free_handler handler) |
Registers the new dedicated handler responsible for deallocating the memory for the sake of internal FCML implementation. More... | |
API for environment configuration.
typedef fcml_ptr(* fcml_fp_env_memory_alloc_handler) (fcml_usize size) |
Memory allocator handler function pointer declaration.
Memory allocation handlers are used to allocate requested memory in environment specific way.
size | Size of the memory to allocate. |
typedef void(* fcml_fp_env_memory_free_handler) (fcml_ptr memory_block) |
Memory deallocator handler function pointer declaration.
Memory deallocation handlers are used to free requested memory blocks in environment specific way.
memory_block | The memory block to free. |
typedef fcml_ptr(* fcml_fp_env_memory_realloc_handler) (fcml_ptr ptr, fcml_usize size) |
Memory reallocator handler function pointer declaration.
Memory reallocation handlers are used to reallocate requested memory in environment specific way.
ptr | The memory block to be reallocated. |
size | Size of the memory to allocate. |
LIB_EXPORT fcml_fp_env_memory_alloc_handler LIB_CALL fcml_fn_env_register_memory_alloc_handler | ( | fcml_fp_env_memory_alloc_handler | handler | ) |
Registers the new dedicated handler responsible for allocating memory for the sake of internal FCML implementation.
handler | New memory allocation handler. |
LIB_EXPORT fcml_fp_env_memory_free_handler LIB_CALL fcml_fn_env_register_memory_free_handler | ( | fcml_fp_env_memory_free_handler | handler | ) |
Registers the new dedicated handler responsible for deallocating the memory for the sake of internal FCML implementation.
handler | New memory deallocation handler. |
LIB_EXPORT fcml_fp_env_memory_realloc_handler LIB_CALL fcml_fn_env_register_memory_realloc_handler | ( | fcml_fp_env_memory_realloc_handler | handler | ) |
Registers the new dedicated handler responsible for reallocating memory for the sake of internal FCML implementation.
handler | New memory reallocation handler. |