瀏覽代碼

Add version macros

Ole Krüger 10 年之前
父節點
當前提交
f6a9651738
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      lib/luwra/common.hpp

+ 6 - 1
lib/luwra/common.hpp

@@ -19,8 +19,13 @@
 	#error Luwra has not been tested against your installed version of Lua
 #endif
 
+// Namespaces
 #define LUWRA_NS_BEGIN namespace luwra {
-
 #define LUWRA_NS_END }
 
+// Version MAJOR.MINOR.PATH
+#define LUWRA_VERSION_MAJOR 0
+#define LUWRA_VERSION_MINOR 0
+#define LUWRA_VERSION_PATCH 0
+
 #endif