cyaml · Section 3
cyaml_type_str
NAME
cyaml_type_str - return a string name for a node's type
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cyaml.h> const char *cyaml_type_str(cyaml node);
DESCRIPTION
Returns a static string literal that names the type of node, such as "CYAML_INTEGER", or "CYAML_UNKNOWN" for a type value that the function doesn't expect. It comes in handy in diagnostics and in test output.
RETURN VALUE
A static null-terminated string that the caller must not free.