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

#include "synthesize.h" #include "synthesize.h"
#include "translate.h" #include "translate.h"


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


int dictionary_skipwords; int dictionary_skipwords;
char dictionary_name[40]; char dictionary_name[40];



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



typedef const char *constcharptr; 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 // used to mark words with the source[] buffer
typedef struct { typedef struct {
unsigned int flags; unsigned int flags;

Loading…
Cancel
Save