]> wimlib.net Git - wimlib/blobdiff - include/wimlib.h
Allow retrieving PACKAGE_VERSION from the library
[wimlib] / include / wimlib.h
index 9966b524b23b7c983829dac0b527168d696ac167..047716c0338ea9887ca58f5b52127204b70457d1 100644 (file)
@@ -3273,6 +3273,16 @@ wimlib_get_image_property(const WIMStruct *wim, int image,
 extern uint32_t
 wimlib_get_version(void);
 
+/**
+ * @ingroup G_general
+ *
+ * Since wimlib v1.13.0: like wimlib_get_version(), but returns the full
+ * PACKAGE_VERSION string that was set at build time.  (This allows a beta
+ * release to be distinguished from an official release.)
+ */
+extern const wimlib_tchar *
+wimlib_get_version_string(void);
+
 /**
  * @ingroup G_wim_information
  *