aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
Diffstat (limited to 'NK_C_API.h')
-rw-r--r--NK_C_API.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 3742b43..96e5836 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -475,6 +475,14 @@ extern "C" {
*/
NK_C_API int NK_get_progress_bar_value();
+ /**
+ * Return the version of the library.
+ * If a git tag is available, return it else return the git version.
+ * This value is defined at the compilation time.
+ * @return the version of the library
+ */
+ NK_C_API const char * NK_version();
+
#ifdef __cplusplus
}
#endif