Z / libzen 0.0.0
Header-only C99 library
Loading...
Searching...
No Matches
version.h File Reference

Compile-time version macros and the runtime version accessor. More...

#include "zen/detail/inline.h"
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  zen_version_t

Macros

#define LIBZEN_VERSION_MAJOR   0
#define LIBZEN_VERSION_MINOR   0
#define LIBZEN_VERSION_PATCH   0

Typedefs

typedef struct zen_version_t zen_version_t

Functions

ZEN_STATIC_INLINE zen_version_t zen_get_version (void)

Detailed Description

Compile-time version macros and the runtime version accessor.

Macro Definition Documentation

◆ LIBZEN_VERSION_MAJOR

#define LIBZEN_VERSION_MAJOR   0

Major version of the library, defined at compile time.

◆ LIBZEN_VERSION_MINOR

#define LIBZEN_VERSION_MINOR   0

Minor version of the library, defined at compile time.

◆ LIBZEN_VERSION_PATCH

#define LIBZEN_VERSION_PATCH   0

Patch version of the library, defined at compile time.

Typedef Documentation

◆ zen_version_t

typedef struct zen_version_t zen_version_t

Version numbers reported by the library.

Function Documentation

◆ zen_get_version()

ZEN_STATIC_INLINE zen_version_t zen_get_version ( void )

Return the version the library was compiled with.