Function yaml_get_version

Synopsis

#include <include/yaml.h>

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

Description

Get the library version numbers.

Parameters:

[ out ] major - Major version number.

[ out ] minor - Minor version number.

[ out ] patch - Patch version number.

Get the library version numbers.

Source

Lines 18-24 in src/api.c. Line 70 in include/yaml.h.

YAML_DECLARE(void)
yaml_get_version(int *major, int *minor, int *patch)
{
    *major = YAML_VERSION_MAJOR;
    *minor = YAML_VERSION_MINOR;
    *patch = YAML_VERSION_PATCH;
}





Add Discussion as Guest

Log in to DocsForge