* src/misc/version.hh, src/misc/version.cc: New files.
* src/misc/Makefile.am (libmisc_la_SOURCES, misc_HEADERS): Add them. * wrap/python/spot.i: Include misc/version.hh. * wrap/python/cgi/ltl2tgba.in: Print spot.version().
This commit is contained in:
parent
b90e0d611f
commit
a5e04a10e6
6 changed files with 36 additions and 3 deletions
10
src/misc/version.hh
Normal file
10
src/misc/version.hh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef SPOT_MISC_VERSION_HH
|
||||
# define SPOT_MISC_VERSION_HH
|
||||
|
||||
namespace spot
|
||||
{
|
||||
/// Return Spot's version.
|
||||
const char* version();
|
||||
}
|
||||
|
||||
#endif // SPOT_MISC_VERSION_HH
|
||||
Loading…
Add table
Add a link
Reference in a new issue