comparison src/config.h.in @ 3959:8fe2dec941b3

[xemacs-hg @ 2007-05-17 15:42:10 by stephent] Fixup error-checking option docstring. <87r6pf8n84.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Thu, 17 May 2007 15:42:48 +0000
parents e58f4b9ab1ad
children dfd878799ef0
comparison
equal deleted inserted replaced
3958:7bc12bb1a2cf 3959:8fe2dec941b3
577 or have limit-ed core dumps out of existence. */ 577 or have limit-ed core dumps out of existence. */
578 #undef USE_ASSERTIONS 578 #undef USE_ASSERTIONS
579 579
580 /* Define one or more of the following if you want lots of extra checks 580 /* Define one or more of the following if you want lots of extra checks
581 (e.g. structure validation) compiled in. These should be turned 581 (e.g. structure validation) compiled in. These should be turned
582 on during the beta-test cycle. */ 582 on during the beta-test cycle.
583
584 Keep macro names sorted to help with syncing this file to configure.ac.
585 Don't forget the ERROR_CHECK_ALL stuff at the end of this file. */
586
587 /* Minor sanity checking of the bytecode interpreter. Useful for
588 debugging the byte compiler. */
589 #undef ERROR_CHECK_BYTE_CODE
590
591 /* Sanity-check the redisplay structures after each modification. */
592 #undef ERROR_CHECK_DISPLAY
583 593
584 /* Check the entire extent structure of a buffer each time an extent 594 /* Check the entire extent structure of a buffer each time an extent
585 change is done, and do other extent-related checks. */ 595 change is done, and do other extent-related checks. */
586 #undef ERROR_CHECK_EXTENTS 596 #undef ERROR_CHECK_EXTENTS
597
598 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
599 #undef ERROR_CHECK_GC
600
601 /* Minor sanity checking of glyphs, especially subwindows and
602 widgets. */
603 #undef ERROR_CHECK_GLYPHS
604
605 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
606 #undef ERROR_CHECK_MALLOC
607
608 /* Define for any sanity checks on structures that are not handled by a
609 more specific error-checking type. */
610 #undef ERROR_CHECK_STRUCTURES
611
612 /* Turn on checks related to text -- check that text in strings and buffers
613 is in a valid format before we use it, check that buffer positions are
614 valid, etc. */
615 #undef ERROR_CHECK_TEXT
587 616
588 /* Turn on checks related to types -- make sure that all X... macros are 617 /* Turn on checks related to types -- make sure that all X... macros are
589 dereferencing the correct type, and that all XSET... macros (as much as 618 dereferencing the correct type, and that all XSET... macros (as much as
590 possible) are setting the correct type of structure; check any other 619 possible) are setting the correct type of structure; check any other
591 places that a specific type is expected. */ 620 places that a specific type is expected. */
592 #undef ERROR_CHECK_TYPES 621 #undef ERROR_CHECK_TYPES
593
594 /* Turn on checks related to text -- check that text in strings and buffers
595 is in a valid format before we use it, check that buffer positions are
596 valid, etc. */
597 #undef ERROR_CHECK_TEXT
598
599 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
600 #undef ERROR_CHECK_GC
601
602 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
603 #undef ERROR_CHECK_MALLOC
604
605 /* Minor sanity checking of the bytecode interpreter. Useful for
606 debugging the byte compiler. */
607 #undef ERROR_CHECK_BYTE_CODE
608
609 /* Minor sanity checking of glyphs, especially subwindows and
610 widgets. */
611 #undef ERROR_CHECK_GLYPHS
612
613 /* Sanity-check the redisplay structures after each modification. */
614 #undef ERROR_CHECK_DISPLAY
615
616 /* Define for any sanity checks on structures that are not handled by a
617 more specific error-checking type. */
618 #undef ERROR_CHECK_STRUCTURES
619 622
620 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. 623 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
621 This is mainly intended for use by developers. */ 624 This is mainly intended for use by developers. */
622 #undef DEBUG_XEMACS 625 #undef DEBUG_XEMACS
623 626
1130 /* For the moment, we go ahead and keep this, since it's used in mouse.el. 1133 /* For the moment, we go ahead and keep this, since it's used in mouse.el.
1131 #### font-lock does its own version using parse-partial-sexp. We should 1134 #### font-lock does its own version using parse-partial-sexp. We should
1132 merge the two. */ 1135 merge the two. */
1133 #define USE_C_FONT_LOCK 1136 #define USE_C_FONT_LOCK
1134 1137
1138 /* Keep the #defines sorted.
1139 #### Can this code ever be executed? I guess if a developer #defines
1140 ERROR_CHECK_ALL above the #include it could be useful. */
1135 #ifdef ERROR_CHECK_ALL 1141 #ifdef ERROR_CHECK_ALL
1142 #define ERROR_CHECK_BYTE_CODE
1143 #define ERROR_CHECK_DISPLAY
1136 #define ERROR_CHECK_EXTENTS 1144 #define ERROR_CHECK_EXTENTS
1145 #define ERROR_CHECK_GC
1146 #define ERROR_CHECK_GLYPHS
1147 #define ERROR_CHECK_MALLOC
1148 #define ERROR_CHECK_STRUCTURES
1149 #define ERROR_CHECK_TEXT
1137 #define ERROR_CHECK_TYPES 1150 #define ERROR_CHECK_TYPES
1138 #define ERROR_CHECK_TEXT
1139 #define ERROR_CHECK_GC
1140 #define ERROR_CHECK_MALLOC
1141 #define ERROR_CHECK_BYTE_CODE
1142 #define ERROR_CHECK_GLYPHS
1143 #define ERROR_CHECK_DISPLAY
1144 #define ERROR_CHECK_STRUCTURES
1145 #endif /* ERROR_CHECK_ALL */ 1151 #endif /* ERROR_CHECK_ALL */
1146 1152
1147 #endif /* _SRC_CONFIG_H_ */ 1153 #endif /* _SRC_CONFIG_H_ */