pub unsafe extern "C" fn BMSallocBufferMemory_call( buffer: *mut BMS_BUFMEM, size: usize, filename: *const c_char, line: c_int, ) -> *mut c_void
allocates the next unused buffer