[−][src]Function ejdb_sys::bson_safe_init_size
pub unsafe extern "C" fn bson_safe_init_size(b: *mut bson, size: c_int) -> c_int
Initialize a BSON object and set its buffer to the given size. Report problems with memory allocation.
@param b the BSON object to initialize. @param size the inintial size of the buffer.
@return BSON_OK or BSON_ERROR.