19 lines
397 B
C
19 lines
397 B
C
/**
|
|
* Copyright 2013 (c) Anna Schumaker.
|
|
*/
|
|
#ifndef OCARINA_CORE_VERSION_H
|
|
#define OCARINA_CORE_VERSION_H
|
|
|
|
/**
|
|
* Scons sets the current version by passing the -DCONFIG_VERSION macro
|
|
* when Ocarina is compiled.
|
|
*
|
|
* @return A C-style string containing the current version of Ocarina.
|
|
*/
|
|
static inline const char *get_version()
|
|
{
|
|
return CONFIG_VERSION;
|
|
}
|
|
|
|
#endif /* OCARINA_CORE_VERSION_H */
|