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.
Definition config.h:31
A description of a library version.
Definition version.h:35
int patch
The patch version.
Definition version.h:38
int major
The major version.
Definition version.h:36
int minor
The minor version.
Definition version.h:37
STUMPLESS_PUBLIC_FUNCTION char * stumpless_version_to_string(const struct stumpless_version *version)
Creates a string representation of the given version.
STUMPLESS_PUBLIC_FUNCTION struct stumpless_version * stumpless_get_version(void)
Gets the version of code the library was built with.
STUMPLESS_PUBLIC_FUNCTION 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.