[gst-cvs] gst-plugins-bad: shm: Add C++ protection

Olivier Crête tester at kemper.freedesktop.org
Fri Oct 8 14:02:22 PDT 2010


Module: gst-plugins-bad
Branch: master
Commit: b7143de618efeefec08fd0bd37d6aabc714aa700
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=b7143de618efeefec08fd0bd37d6aabc714aa700

Author: Olivier Crête <olivier.crete at collabora.co.uk>
Date:   Fri Oct  8 17:01:29 2010 -0400

shm: Add C++ protection

Add c++ protection in the relevant places

---

 sys/shm/shmalloc.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/sys/shm/shmalloc.h b/sys/shm/shmalloc.h
index ab24426..d5aa581 100644
--- a/sys/shm/shmalloc.h
+++ b/sys/shm/shmalloc.h
@@ -46,6 +46,10 @@
 
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct _ShmAllocSpace ShmAllocSpace;
 typedef struct _ShmAllocBlock ShmAllocBlock;
 





More information about the Gstreamer-commits mailing list