| textcat.h | | textcat.h | |
| | | | |
| skipping to change at line 48 | | skipping to change at line 48 | |
| */ | | */ | |
| #include "exttextcat-version.h" | | #include "exttextcat-version.h" | |
| #include "common.h" | | #include "common.h" | |
| #include "textcat_properties.h" | | #include "textcat_properties.h" | |
| | | | |
| #define TEXTCAT_RESULT_UNKNOWN_STR "UNKNOWN" | | #define TEXTCAT_RESULT_UNKNOWN_STR "UNKNOWN" | |
| #define TEXTCAT_RESULT_SHORT_STR "SHORT" | | #define TEXTCAT_RESULT_SHORT_STR "SHORT" | |
| #define TEXTCAT_RESULT_UNKNOWN 0 | | #define TEXTCAT_RESULT_UNKNOWN 0 | |
| #define TEXTCAT_RESULT_SHORT -2 | | #define TEXTCAT_RESULT_SHORT -2 | |
| | | | |
|
| | | /* Old deprecated bad spelling. */ | |
| | | #define _TEXTCAT_RESULT_UNKOWN TEXTCAT_RESULT_UNKNOWN_STR | |
| | | #define _TEXTCAT_RESULT_SHORT TEXTCAT_RESULT_SHORT_STR | |
| | | #define TEXTCAT_RESULT_UNKOWN TEXTCAT_RESULT_UNKNOWN | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" | | extern "C" | |
| { | | { | |
| #endif | | #endif | |
| | | | |
| typedef struct | | typedef struct | |
| { | | { | |
| int score; | | int score; | |
| const char *name; | | const char *name; | |
| } candidate_t; | | } candidate_t; | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 5 lines changed or added | |
|