Browse Source

add version macro for v1

blueloveTH 1 năm trước cách đây
mục cha
commit
845c9153e8
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      include/pocketpy/common.h

+ 3 - 0
include/pocketpy/common.h

@@ -21,6 +21,9 @@
 #include <initializer_list>
 
 #define PK_VERSION				"1.5.0"
+#define PK_VERSION_MAJOR            1
+#define PK_VERSION_MINOR            5
+#define PK_VERSION_PATCH            0
 
 #include "config.h"
 #include "export.h"