From 082b69db5dba8d53d828a0741eb5bcef10849951 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 5 Feb 2024 11:47:06 +0100 Subject: Add a libplist_version() function to the interface --- include/plist/plist.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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 -- cgit v1.1-32-gdbae