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 10 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

@@ -47,7 +47,6 @@ t_espeak_command *create_espeak_text(const void *text, size_t size, unsigned int
data = &(a_command->u.my_text);
data->unique_identifier = ++my_current_text_id;
data->text = a_text;
data->size = size;
data->position = position;
data->position_type = position_type;
data->end_position = end_position;
@@ -117,7 +116,6 @@ t_espeak_command *create_espeak_mark(const void *text, size_t size, const char *
data = &(a_command->u.my_mark);
data->unique_identifier = ++my_current_text_id;
data->text = a_text;
data->size = size;
data->index_mark = a_index_mark;
data->end_position = end_position;
data->flags = flags;

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

@@ -44,7 +44,6 @@ typedef enum {
typedef struct {
unsigned int unique_identifier;
void *text;
size_t size;
unsigned int position;
espeak_POSITION_TYPE position_type;
unsigned int end_position;
@@ -55,7 +54,6 @@ typedef struct {
typedef struct {
unsigned int unique_identifier;
void *text;
size_t size;
const char *index_mark;
unsigned int end_position;
unsigned int flags;

Loading…
Cancel
Save