FLSharedKeys_Encode

Function FLSharedKeys_Encode 

Source
pub unsafe extern "C" fn FLSharedKeys_Encode(
    arg1: FLSharedKeys,
    arg2: FLString,
    add: bool,
) -> c_int
Expand description

Maps a key string to a number in the range [0…2047], or returns -1 if it isn’t mapped. If the key doesn’t already have a mapping, and the add flag is true, a new mapping is assigned and returned. However, the add flag has no effect if the key is unmappable (is longer than 16 bytes or contains non-identifier characters), or if all available integers have been assigned.