diff options
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/coding.h b/src/coding.h index 85e153dcc3a..908e222cc68 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Header for coding system handler. | 1 | /* Header for coding system handler. |
| 2 | Copyright (C) 2001-2011 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 3 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 4 | 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| @@ -415,7 +415,7 @@ struct coding_system | |||
| 415 | setup_coding_system. At the early stage of building time, this | 415 | setup_coding_system. At the early stage of building time, this |
| 416 | value is -1 in the array coding_categories to indicate that no | 416 | value is -1 in the array coding_categories to indicate that no |
| 417 | coding-system of that category is yet defined. */ | 417 | coding-system of that category is yet defined. */ |
| 418 | int id; | 418 | ptrdiff_t id; |
| 419 | 419 | ||
| 420 | /* Flag bits of the coding system. The meaning of each bit is common | 420 | /* Flag bits of the coding system. The meaning of each bit is common |
| 421 | to all types of coding systems. */ | 421 | to all types of coding systems. */ |
| @@ -457,7 +457,7 @@ struct coding_system | |||
| 457 | /* Number of error source data found in a decoding routine. */ | 457 | /* Number of error source data found in a decoding routine. */ |
| 458 | int errors; | 458 | int errors; |
| 459 | 459 | ||
| 460 | /* Store the positions of error source data. */ | 460 | /* Store the positions of error source data. */ |
| 461 | EMACS_INT *error_positions; | 461 | EMACS_INT *error_positions; |
| 462 | 462 | ||
| 463 | /* Finish status of code conversion. */ | 463 | /* Finish status of code conversion. */ |
| @@ -485,7 +485,7 @@ struct coding_system | |||
| 485 | element. The following elements are OFFSET, ANNOTATION-TYPE, and | 485 | element. The following elements are OFFSET, ANNOTATION-TYPE, and |
| 486 | a sequence of actual data for the annotation. OFFSET is a | 486 | a sequence of actual data for the annotation. OFFSET is a |
| 487 | character position offset from dst_pos or src_pos, | 487 | character position offset from dst_pos or src_pos, |
| 488 | ANNOTATION-TYPE specfies the meaning of the annotation and how to | 488 | ANNOTATION-TYPE specifies the meaning of the annotation and how to |
| 489 | handle the following data.. */ | 489 | handle the following data.. */ |
| 490 | int *charbuf; | 490 | int *charbuf; |
| 491 | int charbuf_size, charbuf_used; | 491 | int charbuf_size, charbuf_used; |
| @@ -518,7 +518,7 @@ struct coding_system | |||
| 518 | #define CODING_REQUIRE_DETECTION_MASK 0x1000 | 518 | #define CODING_REQUIRE_DETECTION_MASK 0x1000 |
| 519 | #define CODING_RESET_AT_BOL_MASK 0x2000 | 519 | #define CODING_RESET_AT_BOL_MASK 0x2000 |
| 520 | 520 | ||
| 521 | /* Return 1 if the coding context CODING requires annotaion | 521 | /* Return 1 if the coding context CODING requires annotation |
| 522 | handling. */ | 522 | handling. */ |
| 523 | #define CODING_REQUIRE_ANNOTATION(coding) \ | 523 | #define CODING_REQUIRE_ANNOTATION(coding) \ |
| 524 | ((coding)->common_flags & CODING_ANNOTATION_MASK) | 524 | ((coding)->common_flags & CODING_ANNOTATION_MASK) |