mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
b2ee5bc6b6
commit
3f65a7051f
9 changed files with 51 additions and 26 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue