28 #include "opencc_types.h" 30 #define INFINITY_INT ((~0U) >> 1) 35 # define _(STRING) dgettext(PACKAGE_NAME, STRING) 36 #else // ENABLE_GETTEXT 37 # define _(STRING) STRING 38 #endif // ENABLE_GETTEXT 59 opencc_dictionary_type type;
63 #define DICTIONARY_MAX_COUNT 128 67 Dict* dicts[DICTIONARY_MAX_COUNT];
70 #define DICTIONARY_GROUP_MAX_COUNT 128 74 DictGroup* groups[DICTIONARY_GROUP_MAX_COUNT];
78 opencc_dictionary_type dict_type;
89 DictMeta dicts[DICTIONARY_MAX_COUNT];
95 opencc_conversion_mode conversion_mode;
101 #endif // __COMMON_H_