O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
Loading...
Searching...
No Matches
version.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* ____ _ _____ ____ _ _ _ _____ _ _ ____ ____ */
3/* / ___| / \ | ___| _ \ / \ | \ | | |_ _| || | | _ \/ ___| */
4/* \___ \ / _ \ | |_ | |_) | / _ \ | \| | | | | || |_| | | \___ \ */
5/* ___) / ___ \| _| | _ < / ___ \| |\ | | | |__ _| |_| |___) | */
6/* |____/_/ \_|_| |_| \_/_/ \_|_| \_| |_| |_| |____/|____/ */
7/* */
14/* ************************************************************************** */
15
16#include "o2s/version.h"
17
18#include "o2s/preprocessing.h"
19
21const char* libo2s_version_cstring(void)
22{
23 return LIBO2S_PREPRO_STRING(LIBO2S_VERSION);
24}
25
Compile-time utilities.
#define LIBO2S_PREPRO_STRING(EXPRESSION)
Create a string literal from the evaluation of its argument.
#define string_from_literal(StringLiteral)
Allocates a string, copying the content from a C string.
Definition string.h:45
array_t string_t
A string is an array of char.
Definition string.h:30
const char * libo2s_version_cstring(void)
The libO2S version as a null-terminated string.
Definition version.c:21
string_t libo2s_version_string(void)
The libO2S version as a dynamic string.
Definition version.c:27
Functions allowing users to display the library version.