Function tskit::bindings::kastore_gets [−][src]
pub unsafe extern "C" fn kastore_gets(
self_: *mut kastore_t,
key: *const c_char,
array: *mut *mut c_void,
array_len: *mut size_t,
type_: *mut c_int
) -> c_int
Expand description
@brief Get the array for the specified NULL-terminated key.
@rst
As for :c:func:kastore_get()
except the key is a NULL-terminated string.
@endrst
@param self A pointer to a kastore object. @param key The key. @param array The destination pointer for the array. @param array_len The destination pointer for the number of elements in the array. @param type The destination pointer for the type code of the array. @return Return 0 on success or a negative value on failure.