From: drowe67 Date: Mon, 28 Nov 2011 20:58:15 +0000 (+0000) Subject: c++ header file patch thanks Stuart X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=28d55e347a0f9b6c74feddcee0391e142407ec91;p=freetel-svn-tracking.git c++ header file patch thanks Stuart git-svn-id: https://svn.code.sf.net/p/freetel/code@310 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/src/codec2.h b/codec2-dev/src/codec2.h index 277b8e7a..01054b2f 100644 --- a/codec2-dev/src/codec2.h +++ b/codec2-dev/src/codec2.h @@ -26,6 +26,9 @@ along with this program; if not, see . */ +#ifdef __cplusplus +extern "C" { +#endif #ifndef __CODEC2__ #define __CODEC2__ @@ -42,3 +45,8 @@ int codec2_samples_per_frame(struct CODEC2 *codec2_state); int codec2_bits_per_frame(struct CODEC2 *codec2_state); #endif + +#ifdef __cplusplus +} +#endif +