Use C linkage for all libespeak internal headers.

The libespeak files are supposed to be C code, so use C linkage
for all the functions defined in that code when they are being
referenced in the C++ code (i.e. espeakedit).
This commit is contained in:
Reece H. Dunn
2015-12-09 22:35:48 +00:00
parent 5b3cf74f21
commit 1e01ce9202
14 changed files with 110 additions and 6 deletions
+2 -2
View File
@@ -45,8 +45,8 @@
extern void FindPhonemesUsed(void);
extern void DisplayErrorFile(const char *fname);
extern int utf8_in(int *c, const char *buf);
extern int utf8_out(unsigned int c, char *buf);
extern "C" int utf8_in(int *c, const char *buf);
extern "C" int utf8_out(unsigned int c, char *buf);
extern void DrawEnvelopes();
extern void ReadPhondataManifest();
char path_source[sizeof(path_home)+20];