-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: バージョン情報を示すヘッダを追加 #157 * feat: spirit.h に version.h を追加 #157 * feat: エラー出力にバージョン情報を出力 #188 * feat: バージョン情報をマクロからコンパイル時定数に変更 #157 * docs: 各定数に説明を追加 #157
- Loading branch information
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef SPIRIT_VERSION_H | ||
#define SPIRIT_VERSION_H | ||
|
||
namespace spirit { | ||
|
||
namespace version { | ||
|
||
/// バージョン番号のメジャー番号 | ||
constexpr uint32_t major = 0; | ||
|
||
/// バージョン番号のマイナー番号 | ||
constexpr uint32_t minor = 1; | ||
|
||
/// バージョン番号のパッチ番号 | ||
constexpr uint32_t patch = 0; | ||
|
||
/// バージョン番号の文字列 | ||
constexpr char string[] = "0.1.0"; | ||
|
||
} // namespace version | ||
|
||
} // namespace spirit | ||
|
||
#endif // SPIRIT_VERSION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters