23#ifndef __STUMPLESS_VERSION_H
24# define __STUMPLESS_VERSION_H
26# include <stumpless/config.h>
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
定义 config.h:31
A description of a library version.
定义 version.h:35
int patch
The patch version.
定义 version.h:38
int major
The major version.
定义 version.h:36
int minor
The minor version.
定义 version.h:37
char * stumpless_version_to_string(const struct stumpless_version *version)
Creates a string representation of the given version.
struct stumpless_version * stumpless_get_version(void)
Gets the version of code the library was built with.
int stumpless_version_cmp(const struct stumpless_version *version_x, const struct stumpless_version *version_y)
Compares the version of two given stumpless_version struct.