[−][src]Function ejdb_sys::bson_ensure_space
pub unsafe extern "C" fn bson_ensure_space(
b: *mut bson,
bytesNeeded: c_int
) -> c_int
Grow a bson object.
@param b the bson to grow. @param bytesNeeded the additional number of bytes needed.
@return BSON_OK or BSON_ERROR with the bson error object set. Exits if allocation fails.