-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathversion.c
More file actions
30 lines (26 loc) · 1.14 KB
/
version.c
File metadata and controls
30 lines (26 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* ************************************************************************** */
/* ____ _ _____ ____ _ _ _ _____ _ _ ____ ____ */
/* / ___| / \ | ___| _ \ / \ | \ | | |_ _| || | | _ \/ ___| */
/* \___ \ / _ \ | |_ | |_) | / _ \ | \| | | | | || |_| | | \___ \ */
/* ___) / ___ \| _| | _ < / ___ \| |\ | | | |__ _| |_| |___) | */
/* |____/_/ \_|_| |_| \_/_/ \_|_| \_| |_| |_| |____/|____/ */
/* */
/**
* @copyright 2023, SAFRAN T4DS, ALL RIGHTS RESERVED
* @file version.c
* @author Antoine GAGNIERE
* @brief Provide the library version as string
*/
/* ************************************************************************** */
#include "o2s/version.h"
#include "o2s/preprocessing.h"
/** The libO2S version as a null-terminated string. */
const char* libo2s_version_cstring(void)
{
return LIBO2S_PREPRO_STRING(LIBO2S_VERSION);
}
/** The libO2S version as a dynamic string. */
string_t libo2s_version_string(void)
{
return string_from_literal(LIBO2S_PREPRO_STRING(LIBO2S_VERSION));
}