[utf8] Moving language length constant

This commit is contained in:
Al
2015-06-30 19:17:20 -04:00
parent 071d6bb392
commit fa643f7a3a
3 changed files with 9 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
#define UNICODE_SCRIPTS_H
#include <stdlib.h>
#include "constants.h"
#include "utf8proc/utf8proc.h"
#include "unicode_script_types.h"
@@ -10,6 +11,11 @@ typedef struct script_code {
char *code;
} script_code_t;
typedef struct script_language {
script_t script;
char language[MAX_LANGUAGE_LEN];
} script_language_t;
typedef struct script_languages {
size_t num_languages;
char *languages[MAX_LANGS];