cyaml · Section 3
cyaml_dictionary_get
NAME
cyaml_dictionary_get - look up a key in a dictionary
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cyaml.h> cyaml cyaml_dictionary_get(cyaml map, const char *key);
DESCRIPTION
Returns the value that map stores under key. The dictionary keeps owning the value, so the reference is borrowed.
RETURN VALUE
The child node, or NULL when map has no such key or is not a CYAML_DICTIONARY.
SEE ALSO
cyaml_dictionary_set(3), cyaml_dictionary_first(3), cyaml_dictionary_size(3)