aboutsummaryrefslogtreecommitdiff
path: root/src/input_stream.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 09:38:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:07:40 +0100
commit975370c084c8d679ff2cc2fcee48326b1dbcbf2e (patch)
treea7df707eb1712c1921367862b35c6265c80bd5a5 /src/input_stream.h
parentc3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff)
decoder_api.h, ...: add "extern C"
Diffstat (limited to 'src/input_stream.h')
-rw-r--r--src/input_stream.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/input_stream.h b/src/input_stream.h
index 10ad9716..3a29625a 100644
--- a/src/input_stream.h
+++ b/src/input_stream.h
@@ -88,6 +88,10 @@ struct input_stream {
char *mime;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Opens a new input stream. You may not access it until the "ready"
* flag is set.
@@ -264,4 +268,8 @@ size_t
input_stream_lock_read(struct input_stream *is, void *ptr, size_t size,
GError **error_r);
+#ifdef __cplusplus
+}
+#endif
+
#endif