Function yrs::ymap_get [−][src]
#[no_mangle]
pub unsafe extern "C" fn ymap_get(
map: *const Map,
txn: *const Transaction,
key: *const c_char
) -> *mut YOutput
Expand description
Returns a value stored under the provided key
, or a null pointer if no entry with such key
has been found in a current map
. A returned value is allocated by this function and therefore
should be eventually released using youtput_destroy function.
A key
must be a null-terminated UTF-8 encoded string.