~ubuntu-branches/ubuntu/saucy/opencc/saucy-proposed

« back to all changes in this revision

Viewing changes to src/opencc_types.h

  • Committer: Package Import Robot
  • Author(s): Asias He
  • Date: 2013-04-05 10:52:29 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20130405105229-fiif4biajh42hkyg
Tags: 0.4.0-1
* New upstream release
* fix-new-test-cases.patch in upstream
* part of more_clear_man_c_option.patch is in upstream
  the rest is in install-data-file-to-meet-need-of-multi-arch.path

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        OPENCC_ERROR_VOID,
36
36
        OPENCC_ERROR_DICTLOAD,
37
37
        OPENCC_ERROR_CONFIG,
38
 
        OPENCC_ERROR_ENCODIND,
 
38
        OPENCC_ERROR_ENCODING,
 
39
        OPENCC_ERROR_ENCODIND = OPENCC_ERROR_ENCODING,
39
40
        OPENCC_ERROR_CONVERTER,
40
41
};
41
42
typedef enum _opencc_error opencc_error;
49
50
 
50
51
enum _opencc_conversion_mode
51
52
{
52
 
        OPENCC_CONVERSION_FAST,
53
 
        OPENCC_CONVERSION_SEGMENT_ONLY,
54
 
        OPENCC_CONVERSION_LIST_CANDIDATES,
 
53
        OPENCC_CONVERSION_FAST = 0,
 
54
        OPENCC_CONVERSION_SEGMENT_ONLY = 1,
 
55
        OPENCC_CONVERSION_LIST_CANDIDATES = 2,
55
56
};
56
57
typedef enum _opencc_conversion_mode opencc_conversion_mode;
57
58