Parcourir la Source

Add version macros

Ole Krüger il y a 10 ans
Parent
commit
f6a9651738
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  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