aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorStefan Monnier2012-03-25 16:37:21 -0400
committerStefan Monnier2012-03-25 16:37:21 -0400
commit699c782b7668c44d0fa4446331b0590a6d5dac82 (patch)
tree5dcce364741d0761920a3d274b0fc8aba4103d45 /src/coding.h
parent98fb480ee31bf74cf554044f60f21df16566dd7f (diff)
parente99a9b8bdccadded1f6fae88ee7a2a93dfd4eacf (diff)
downloademacs-699c782b7668c44d0fa4446331b0590a6d5dac82.tar.gz
emacs-699c782b7668c44d0fa4446331b0590a6d5dac82.zip
Merge from trunkpending
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h10
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)