summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plist.c b/src/plist.c
index e8f6974..2078520 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -1739,3 +1739,11 @@ void plist_print(plist_t plist)
1739{ 1739{
1740 plist_write_to_stream(plist, stdout, PLIST_FORMAT_PRINT, PLIST_OPT_PARTIAL_DATA); 1740 plist_write_to_stream(plist, stdout, PLIST_FORMAT_PRINT, PLIST_OPT_PARTIAL_DATA);
1741} 1741}
1742
1743const char* libplist_version()
1744{
1745#ifndef PACKAGE_VERSION
1746#error PACKAGE_VERSION is not defined!
1747#endif
1748 return PACKAGE_VERSION;
1749}