Function bson_malloc

Source
pub unsafe extern "C" fn bson_malloc(size: c_int) -> *mut c_void
Expand description

Allocates memory and checks return value, exiting fatally if malloc() fails.

@param size bytes to allocate.

@return a pointer to the allocated memory.

@sa malloc(3)