[][src]Function ejdb_sys::bson_malloc

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

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)