Function tskit::bindings::kastore_puts[][src]

pub unsafe extern "C" fn kastore_puts(
    self_: *mut kastore_t,
    key: *const c_char,
    array: *const c_void,
    array_len: size_t,
    type_: c_int,
    flags: c_int
) -> c_int

@brief Insert the specified NULL terminated key and array pair into the store.

@rst As for :c:func:kastore_put except the key must be NULL-terminated C string. @endrst

@param self A pointer to a kastore object. @param key The key. @param array The array. @param array_len The number of elements in the array. @param type The type of the array. @param flags The insertion flags. Currently unused. @return Return 0 on success or a negative value on failure.