Ruby  2.0.0p247(2013-06-27revision41674)
Functions
Version Information

Functions

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

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().

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.