summaryrefslogtreecommitdiff
path: root/src/version.h
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-08-01 23:31:27 -0700
committersteven-na <noreply.github@stvnc.dev>2026-08-01 23:31:27 -0700
commit484b4eb7ec20d01230f22e159c33b7225af34ab9 (patch)
treef545b98b722451af18383f5db7925c97087e5e64 /src/version.h
parentf7bda3da4fb6d6cd1fd449e865885a50618c78e4 (diff)
Automatic build versioning
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/version.h b/src/version.h
new file mode 100644
index 0000000..6042d27
--- /dev/null
+++ b/src/version.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "common.h"
+
+typedef struct {
+ i32 major, minor, patch;
+ char const *string;
+ char const *git_commit;
+ char const *build_date;
+ char const *build_time;
+ char const *build_type;
+} steez_build_info_t;
+
+char const *steez_version_string(void);
+steez_build_info_t steez_build_info(void);