summaryrefslogtreecommitdiffstats
path: root/include/plist/plist.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-02-05 11:47:06 +0100
committerGravatar Nikias Bassen2024-02-05 11:47:06 +0100
commit082b69db5dba8d53d828a0741eb5bcef10849951 (patch)
tree8a6069cfd0155cba3066ea981dd135f67db0355a /include/plist/plist.h
parent3daee6097cfa14c597e5104b02acfe83749001d9 (diff)
downloadlibplist-082b69db5dba8d53d828a0741eb5bcef10849951.tar.gz
libplist-082b69db5dba8d53d828a0741eb5bcef10849951.tar.bz2
Add a libplist_version() function to the interface
Diffstat (limited to 'include/plist/plist.h')
-rw-r--r--include/plist/plist.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h
index 0a9f5ee..426e34f 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -1215,6 +1215,13 @@ extern "C"
*/
PLIST_API void plist_set_debug(int debug);
+ /**
+ * Returns a static string of the libplist version.
+ *
+ * @return The libplist version as static ascii string
+ */
+ PLIST_API const char* libplist_version();
+
/*@}*/
#ifdef __cplusplus