[vlc-commits] DTV: allow C++ inclusion

Rémi Denis-Courmont git at videolan.org
Sat Mar 26 15:38:46 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 26 16:38:17 2011 +0200| [5d09460c9b7bf271d07c11c58b1d02e57aed36cb] | committer: Rémi Denis-Courmont

DTV: allow C++ inclusion

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d09460c9b7bf271d07c11c58b1d02e57aed36cb
---

 modules/access/dtv/dtv.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/modules/access/dtv/dtv.h b/modules/access/dtv/dtv.h
index cf94e06..a55cf7f 100644
--- a/modules/access/dtv/dtv.h
+++ b/modules/access/dtv/dtv.h
@@ -20,6 +20,12 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  ****************************************************************************/
 
+#ifndef VLC_DTV_H
+# define VLC_DTV_H 1
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 typedef struct delsys delsys_t;
 
 extern const delsys_t dvbc, dvbs, dvbs2, dvbt, atsc, cqam;
@@ -83,3 +89,7 @@ typedef struct isdbt_sound
 int dvb_set_isdbt (dvb_device_t *, uint32_t freq, const isdbt_layer_t *a,
                    const isdbt_layer_t *b, const isdbt_layer_t *c,
                    const isdbt_sound_t *sb);
+# ifdef __cplusplus
+}
+# endif
+#endif



More information about the vlc-commits mailing list