Ruby  2.0.0p451(2014-02-24revision45167)
Functions
Version Information

Functions

 yaml_get_version_string (void)
 Get the library version as a string. More...
 
 yaml_get_version (int *major, int *minor, int *patch)
 Get the library version numbers. More...
 

Detailed Description

Function Documentation

yaml_get_version ( int *  major,
int *  minor,
int *  patch 
)

Get the library version numbers.

Parameters
[out]majorMajor version number.
[out]minorMinor version number.
[out]patchPatch version number.

Definition at line 19 of file api.c.

References YAML_VERSION_MAJOR, YAML_VERSION_MINOR, and YAML_VERSION_PATCH.

Referenced by libyaml_version().

yaml_get_version_string ( void  )

Get the library version as a string.

Returns
The function returns the pointer to a static string of the form "X.Y.Z", where X is the major version number, Y is a minor version number, and Z is the patch version number.

Definition at line 9 of file api.c.

References YAML_VERSION_STRING.