summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice-glue/nskeyedarchive.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice-glue/nskeyedarchive.h')
-rw-r--r--include/libimobiledevice-glue/nskeyedarchive.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libimobiledevice-glue/nskeyedarchive.h b/include/libimobiledevice-glue/nskeyedarchive.h
index 304495a..18a0ab3 100644
--- a/include/libimobiledevice-glue/nskeyedarchive.h
+++ b/include/libimobiledevice-glue/nskeyedarchive.h
@@ -50,6 +50,10 @@ enum nskeyedarchive_class_type_t {
typedef struct nskeyedarchive_st *nskeyedarchive_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
LIMD_GLUE_API nskeyedarchive_t nskeyedarchive_new(void);
LIMD_GLUE_API nskeyedarchive_t nskeyedarchive_new_from_plist(plist_t plist);
LIMD_GLUE_API nskeyedarchive_t nskeyedarchive_new_from_data(const void* data, uint32_t size);
@@ -87,4 +91,8 @@ LIMD_GLUE_API int nskeyedarchive_get_class_property(nskeyedarchive_t ka, uint64_
LIMD_GLUE_API plist_t nskeyedarchive_to_plist(nskeyedarchive_t ka);
+#ifdef __cplusplus
+}
+#endif
+
#endif