Function concordium_std::prims::state_create_entry
source · pub unsafe extern "C" fn state_create_entry(
key_start: *const u8,
key_length: u32
) -> u64
Expand description
Create an empty entry with the given key. The return value is either u64::MAX if creating the entry failed because of an iterator lock on the part of the tree, or else the first bit is 0, and the remaining bits are an entry identifier that maybe used in subsequent calls. If an entry at that key already exists it is set to the empty entry.