Function eccodes_sys::codes_index_new[][src]

pub unsafe extern "C" fn codes_index_new(
    c: *mut codes_context,
    keys: *const c_char,
    err: *mut c_int
) -> *mut codes_index
Expand description

Create a new index based on a set of keys.

@param c : context (NULL for default context) @param keys : comma separated list of keys for the index. The type of the key can be explicitly declared appending :l for long, (or alternatively :i) :d for double, :s for string to the key name. If the type is not declared explicitly, the native type is assumed. @param err : 0 if OK, integer value on error @return the newly created index