Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions include/mechanism_configuration/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ namespace mechanism_configuration
extern "C" {
#endif

const char* getVersionString()
inline const char* getVersionString()
{
return "2.0.0";
}
unsigned getVersionMajor()
inline unsigned getVersionMajor()
{
return 2;
}
unsigned getVersionMinor()
inline unsigned getVersionMinor()
{
return 0+0;
}
unsigned getVersionPatch()
inline unsigned getVersionPatch()
{
return 0+0;
}
unsigned getVersionTweak()
inline unsigned getVersionTweak()
{
return +0;
}
Expand Down
10 changes: 5 additions & 5 deletions src/version.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ namespace mechanism_configuration
extern "C" {
#endif

const char* getVersionString()
inline const char* getVersionString()
{
return "@mechanism_configuration_VERSION@";
}
unsigned getVersionMajor()
inline unsigned getVersionMajor()
{
return @mechanism_configuration_VERSION_MAJOR@;
}
unsigned getVersionMinor()
inline unsigned getVersionMinor()
{
return @mechanism_configuration_VERSION_MINOR@+0;
}
unsigned getVersionPatch()
inline unsigned getVersionPatch()
{
return @mechanism_configuration_VERSION_PATCH@+0;
}
unsigned getVersionTweak()
inline unsigned getVersionTweak()
{
return @mechanism_configuration_VERSION_TWEAK@+0;
}
Expand Down
Loading