Type Definition hyperscan_sys::chimera::ch_alloc_t
source · [−]Expand description
The type of the callback function that will be used by Chimera to allocate more memory at runtime as required.
If Chimera is to be used in a multi-threaded, or similarly concurrent environment, the allocation function will need to be re-entrant, or similarly safe for concurrent use.
@param size The number of bytes to allocate. @return A pointer to the region of memory allocated, or NULL on error.