libxrdeveloper's documentation
gboolean xr_value_to_int ( xr_value val,
int *  nval 
)

Extract xr_value of type XRV_INT into the native language type.

Parameters:
val Value node. May be NULL, see below.
nval Pointer to the variable where value should be extracted. This pointer must not be NULL.
Returns:
This function returns FALSE if value can't be extracted, this may happen when val is NULL or val is not of expected node type. On error value pointed to by nval is not modified. TRUE is returned on success.
Documentation for libxr, Sun Nov 28 2010 22:37:18.