aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_export.h')
-rw-r--r--src/pcm_export.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pcm_export.h b/src/pcm_export.h
index a7e7c3f6..005db48e 100644
--- a/src/pcm_export.h
+++ b/src/pcm_export.h
@@ -87,6 +87,10 @@ struct pcm_export_state {
uint8_t reverse_endian;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Initialize a #pcm_export_state object.
*/
@@ -144,4 +148,8 @@ G_GNUC_PURE
size_t
pcm_export_source_size(const struct pcm_export_state *state, size_t dest_size);
+#ifdef __cplusplus
+}
+#endif
+
#endif