mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 15:12:24 +00:00
Use the C compiler to build C files; restructuring.
This moves the libespeak source (*.cpp) files to src/libespeak-ng and renames the C files (libespeak, espeak, speak) so they have a .c file extension.
This commit is contained in:
+2
-2
@@ -37,7 +37,7 @@
|
||||
#include "options.h"
|
||||
|
||||
extern char word_phonemes[N_WORD_PHONEMES]; // a word translated into phoneme codes
|
||||
extern int __cdecl string_sorter(char **a, char **b);
|
||||
extern "C" int __cdecl string_sorter(char **a, char **b);
|
||||
|
||||
//******************************************************************************************************
|
||||
|
||||
@@ -1470,7 +1470,7 @@ void CompareLexicon(int id)
|
||||
|
||||
|
||||
//******************************************************************************************************
|
||||
extern int HashDictionary(const char *string);
|
||||
extern "C" int HashDictionary(const char *string);
|
||||
static int n_words;
|
||||
|
||||
struct wcount {
|
||||
|
||||
Reference in New Issue
Block a user