[][src]Function flann_sys::flann_save_index

pub unsafe extern "C" fn flann_save_index(
    index_id: flann_index_t,
    filename: *mut c_char
) -> c_int

Saves the index to a file. Only the index is saved into the file, the dataset corresponding to the index is not saved.

@param index_id The index that should be saved @param filename The filename the index should be saved to @return Returns 0 on success, negative value on error.