Function yaml_get_version_string

Synopsis

#include <include/yaml.h>

const char * yaml_get_version_string(void)

Description

Get the library version as a string.

Return
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.
Get the library version.

Source

Lines 8-12 in src/api.c. Line 59 in include/yaml.h.

YAML_DECLARE(const char *)
yaml_get_version_string(void)
{
    return YAML_VERSION_STRING;
}





Add Discussion as Guest

Log in to DocsForge