Z / libzlang 0.29.0
C99 runtime library and the Zlang 0.29 source-to-source compiler
Loading...
Searching...
No Matches
version.h File Reference

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

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

Go to the source code of this file.

Data Structures

struct  zlang_version_t

Macros

#define LIBZLANG_VERSION_MAJOR   0
#define LIBZLANG_VERSION_MINOR   29
#define LIBZLANG_VERSION_PATCH   0

Typedefs

typedef struct zlang_version_t zlang_version_t

Functions

ZLANG_STATIC_INLINE zlang_version_t zlang_get_version (void)

Detailed Description

Compile-time version macros and the runtime version accessor.

Macro Definition Documentation

◆ LIBZLANG_VERSION_MAJOR

#define LIBZLANG_VERSION_MAJOR   0

Major version of the library, defined at compile time.

◆ LIBZLANG_VERSION_MINOR

#define LIBZLANG_VERSION_MINOR   29

Minor version of the library, defined at compile time.

◆ LIBZLANG_VERSION_PATCH

#define LIBZLANG_VERSION_PATCH   0

Patch version of the library, defined at compile time.

Typedef Documentation

◆ zlang_version_t

typedef struct zlang_version_t zlang_version_t

Version numbers reported by the library.

Function Documentation

◆ zlang_get_version()

ZLANG_STATIC_INLINE zlang_version_t zlang_get_version ( void )

Return the version the library was compiled with.