cyaml · Section 3
cyaml_bool_val
NAME
cyaml_bool_val - extract a boolean value from a CYAML_BOOL node
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cyaml.h> bool cyaml_bool_val(cyaml node);
DESCRIPTION
Returns the C bool that node stores. The function calls ccol__fatal_err() when node is NULL and when node is not of type CYAML_BOOL.
PARAMETERS
node A CYAML_BOOL node.
RETURN VALUE
The C bool value.