From 15696dd3307c98ac22e7d344b52fee42f4356c44 Mon Sep 17 00:00:00 2001 From: maroy Date: Mon, 20 Jun 2005 11:50:01 +0000 Subject: [PATCH] added extern "C" statements for inclusion in C++ code --- livesupport/modules/gstreamerElements/src/util.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/livesupport/modules/gstreamerElements/src/util.h b/livesupport/modules/gstreamerElements/src/util.h index cce18f036..bcfd74615 100644 --- a/livesupport/modules/gstreamerElements/src/util.h +++ b/livesupport/modules/gstreamerElements/src/util.h @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.1 $ + Version : $Revision: 1.2 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/gstreamerElements/src/util.h,v $ ------------------------------------------------------------------------------*/ @@ -34,9 +34,13 @@ * Utility functions helping to work with SMIL-related data structures. * * @author $Author: maroy $ - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ +#ifdef __cplusplus +extern "C" { +#endif + /* ============================================================ include files */ @@ -64,5 +68,9 @@ GstPad * get_src_pad(GstElement * element); +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* Util_h */