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