2014-09-12 16:08:58 -04:00
|
|
|
/**
|
2013-08-07 21:00:09 -04:00
|
|
|
* Copyright 2013 (c) Anna Schumaker.
|
2013-07-05 12:14:51 -04:00
|
|
|
*/
|
2014-06-21 09:37:47 -04:00
|
|
|
#ifndef OCARINA_CORE_VERSION_H
|
|
|
|
#define OCARINA_CORE_VERSION_H
|
2013-07-05 12:14:51 -04:00
|
|
|
|
2014-09-12 16:08:58 -04:00
|
|
|
/**
|
2014-11-01 11:55:06 -04:00
|
|
|
* Scons sets the current version by passing the -DCONFIG_VERSION macro
|
|
|
|
* when Ocarina is compiled.
|
2014-09-12 16:08:58 -04:00
|
|
|
*
|
2014-11-01 11:55:06 -04:00
|
|
|
* @return A C-style string containing the current version of Ocarina.
|
2014-09-12 16:08:58 -04:00
|
|
|
*/
|
2013-07-05 12:14:51 -04:00
|
|
|
static inline const char *get_version()
|
|
|
|
{
|
2013-07-05 21:40:10 -04:00
|
|
|
return CONFIG_VERSION;
|
2013-07-05 12:14:51 -04:00
|
|
|
}
|
|
|
|
|
2014-06-21 09:37:47 -04:00
|
|
|
#endif /* OCARINA_CORE_VERSION_H */
|