Browse Source

move struct MatchRecord to dictionary.c since it's the only file that uses it

master
Juho Hiltunen 7 years ago
parent
commit
30ad5c39f6
2 changed files with 8 additions and 7 deletions
  1. 8
    0
      src/libespeak-ng/dictionary.c
  2. 0
    7
      src/libespeak-ng/translate.h

+ 8
- 0
src/libespeak-ng/dictionary.c View File

@@ -37,6 +37,14 @@
#include "synthesize.h"
#include "translate.h"

typedef struct {
int points;
const char *phonemes;
int end_type;
char *del_fwd;
} MatchRecord;


int dictionary_skipwords;
char dictionary_name[40];


+ 0
- 7
src/libespeak-ng/translate.h View File

@@ -267,13 +267,6 @@ int clause_type_from_codepoint(uint32_t c);

typedef const char *constcharptr;

typedef struct {
int points;
const char *phonemes;
int end_type;
char *del_fwd;
} MatchRecord;

// used to mark words with the source[] buffer
typedef struct {
unsigned int flags;

Loading…
Cancel
Save