cppthread 1.1.16
C++ Thread Library
Macros | Functions
version.h File Reference

Definitions of the cppthread version. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CPPTHREAD_VERSION_MAJOR   1
 The major version of the cppthread library.
 
#define CPPTHREAD_VERSION_MINOR   1
 The minor version of the cppthread library.
 
#define CPPTHREAD_VERSION_PATCH   16
 The patch version of the cppthread library.
 
#define CPPTHREAD_VERSION_STRING   "1.1.16"
 The version as a string.
 

Functions

int cppthread::get_major_version ()
 Get the major version of the library.
 
int cppthread::get_patch_version ()
 Get the patch version of the library.
 
int cppthread::get_release_version ()
 Get the minor version of the library.
 
char const * cppthread::get_version_string ()
 Get the full version of the library as a string.
 

Detailed Description

This header includes the cppthread library version and functions you can use to check the current version of the library.

Definition in file version.h.

Macro Definition Documentation

◆ CPPTHREAD_VERSION_MAJOR

#define CPPTHREAD_VERSION_MAJOR   1

The major version at compile time.

Definition at line 29 of file version.h.

◆ CPPTHREAD_VERSION_MINOR

#define CPPTHREAD_VERSION_MINOR   1

The minor version at compile time.

Definition at line 30 of file version.h.

◆ CPPTHREAD_VERSION_PATCH

#define CPPTHREAD_VERSION_PATCH   16

The patch version at compile time.

Definition at line 31 of file version.h.

◆ CPPTHREAD_VERSION_STRING

#define CPPTHREAD_VERSION_STRING   "1.1.16"

The version at compile time as a string.

Definition at line 32 of file version.h.

Function Documentation

◆ get_major_version()

int cppthread::get_major_version ( )

This function returns the major version of the running library (the one you are linked against at runtime).

Returns
The major version.

Definition at line 82 of file version.cpp.

References CPPTHREAD_VERSION_MAJOR, and cppthread::get_major_version().

Referenced by cppthread::get_major_version().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_patch_version()

int cppthread::get_patch_version ( )

This function returns the patch version of the running library (the one you are linked against at runtime).

Returns
The patch version.

Definition at line 108 of file version.cpp.

References CPPTHREAD_VERSION_PATCH, and cppthread::get_patch_version().

Referenced by cppthread::get_patch_version().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_release_version()

int cppthread::get_release_version ( )

This function returns the minor version of the running library (the one you are linked against at runtime).

Returns
The release version.

Definition at line 95 of file version.cpp.

References CPPTHREAD_VERSION_MINOR, and cppthread::get_release_version().

Referenced by cppthread::get_release_version().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_version_string()

char const * cppthread::get_version_string ( )

This function returns the major, minor, and patch versions of the running library (the one you are linked against at runtime) in the form of a string.

The build version is not made available. In most cases we change the build version only to run a new build, so not code will have changed (some documentation and non-code files may changed between build versions; but the code will work exactly the same way.)

Returns
The library version.

Definition at line 127 of file version.cpp.

References CPPTHREAD_VERSION_STRING, and cppthread::get_version_string().

Referenced by cppthread::get_version_string().

Here is the call graph for this function:
Here is the caller graph for this function:

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.