diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-05-22 17:51:35 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-05-22 17:51:35 +0000 |
commit | 3f65a7051f489f141a39faaf85dc2af489b5123e (patch) | |
tree | 84c23e570424222240d394e24a58920b7ed8e6d4 /tools/rbspeex/rbspeex.h | |
parent | b2ee5bc6b68316d3cf7e43923765788b114aa192 (diff) | |
download | rockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.tar.gz rockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.zip |
Move C linkage binding for c++ to exporting header files instead of includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/rbspeex/rbspeex.h')
-rw-r--r-- | tools/rbspeex/rbspeex.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/rbspeex/rbspeex.h b/tools/rbspeex/rbspeex.h index 00d045c74a..2c5cb297fd 100644 --- a/tools/rbspeex/rbspeex.h +++ b/tools/rbspeex/rbspeex.h @@ -21,6 +21,10 @@ #include <stdbool.h> +#ifdef __cplusplus +extern "C" { +#endif + unsigned int get_long_le(unsigned char *p); bool get_wave_metadata(FILE *fd, int *numchan, int *bps, int *sr, int *numsamples); bool encode_file(FILE *fin, FILE *fout, float quality, int complexity, @@ -29,6 +33,8 @@ bool encode_file(FILE *fin, FILE *fout, float quality, int complexity, void put_ushort_le(unsigned short x, unsigned char *out); void put_uint_le(unsigned int x, unsigned char *out); - +#ifdef __cplusplus +} +#endif #endif |