Browse Source

Don't add the size parameter to the synthesize method structures as the synthesize methods don't use the size parameter.

master
Reece H. Dunn 9 years ago
parent
commit
f2bd7f4b51
2 changed files with 0 additions and 4 deletions
  1. 0
    2
      src/libespeak-ng/espeak_command.c
  2. 0
    2
      src/libespeak-ng/espeak_command.h

+ 0
- 2
src/libespeak-ng/espeak_command.c View File

data = &(a_command->u.my_text); data = &(a_command->u.my_text);
data->unique_identifier = ++my_current_text_id; data->unique_identifier = ++my_current_text_id;
data->text = a_text; data->text = a_text;
data->size = size;
data->position = position; data->position = position;
data->position_type = position_type; data->position_type = position_type;
data->end_position = end_position; data->end_position = end_position;
data = &(a_command->u.my_mark); data = &(a_command->u.my_mark);
data->unique_identifier = ++my_current_text_id; data->unique_identifier = ++my_current_text_id;
data->text = a_text; data->text = a_text;
data->size = size;
data->index_mark = a_index_mark; data->index_mark = a_index_mark;
data->end_position = end_position; data->end_position = end_position;
data->flags = flags; data->flags = flags;

+ 0
- 2
src/libespeak-ng/espeak_command.h View File

typedef struct { typedef struct {
unsigned int unique_identifier; unsigned int unique_identifier;
void *text; void *text;
size_t size;
unsigned int position; unsigned int position;
espeak_POSITION_TYPE position_type; espeak_POSITION_TYPE position_type;
unsigned int end_position; unsigned int end_position;
typedef struct { typedef struct {
unsigned int unique_identifier; unsigned int unique_identifier;
void *text; void *text;
size_t size;
const char *index_mark; const char *index_mark;
unsigned int end_position; unsigned int end_position;
unsigned int flags; unsigned int flags;

Loading…
Cancel
Save