cyaml · Section 3
cyaml_declare
NAME
cyaml_declare - declare an uninitialized cyaml variable
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cyaml.h> cyaml_declare(var_name);
DESCRIPTION
Declares a cyaml handle named var_name and leaves it uninitialized. The macro is there so that cyaml follows the naming convention of the other c_collections modules, which all have a _declare macro. It expands to "cyaml var_name".
PARAMETERS
var_name Name of the variable to declare.
EXAMPLES
cyaml_declare(root); root = cyaml_parse("key: value\n", NULL); /* ... use root ... */ cyaml_destroy(root);