diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libfud.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libfud.hpp b/include/libfud.hpp index c4fa8d7..70165b3 100644 --- a/include/libfud.hpp +++ b/include/libfud.hpp @@ -21,22 +21,22 @@ #include "fud_result.hpp" #include "fud_status.hpp" #include "fud_string.hpp" +#include "fud_array.hpp" #include <cstdint> namespace fud { +constexpr size_t GIT_REV_CHARS = 13; + struct FUD { - uint8_t Major; - uint8_t Minor; - uint8_t Patch; + uint8_t major; + uint8_t minor; + uint8_t patch; + Array<char, GIT_REV_CHARS> revision; }; -/** \brief Fear, unknown, doubt. Call at your own peril. */ -constexpr FUD fud() -{ - return FUD{0, 42, 0}; -} +FUD fud(); /** * \brief Get an environmental variable if it exists. |