File t8_version.h

Parent directory (src)

This file offers additional functions and support regarding the t8code version.

Definition (src/t8_version.h)

Detailed Description

The version number of t8code is a string “X.Y.Z-HASH” where the “-HASH” part is optional.

Macro Meaning example

T8_PACKAGE_STRING The package string of t8code “t8 0.41.1-288be-dirty”

T8_PACKAGE_VERSION The full version number X.Y.Z-HASH as string “0.41.1-288be-dirty”

T8_VERSION_MAJOR The major version number of t8code X as int 0

T8_VERSION_MINOR The minor version number of t8code Y as int 42

T8_VERSION_POINT The point version number of t8code Z-HASH as inst 1-288be-dirty

Define T8_VERSION_POINT_STRING The point version number of t8code Z-HASH as string “1-288be-dirty”

Attention: By design of git’s version handling, T8_VERSION_POINT is not defined as a string. Since it does often contain chars we additionally define the macro Define T8_VERSION_POINT_STRING in this header file.

The point version number consists of the the patch version number and the HASH part. To get the patch version number Z alone use Function t8_get_version_patch.

Includes

Functions

Defines