Mercurial > hg > xemacs-beta
comparison man/internals/internals.texi @ 388:aabb7f5b1c81 r21-2-9
Import from CVS: tag r21-2-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:09:42 +0200 |
parents | 8626e4521993 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
387:f892a9d0bb8d | 388:aabb7f5b1c81 |
---|---|
2674 Header files should @emph{not} include @code{<config.h>} and | 2674 Header files should @emph{not} include @code{<config.h>} and |
2675 @code{"lisp.h"}. It is the responsibility of the @file{.c} files that | 2675 @code{"lisp.h"}. It is the responsibility of the @file{.c} files that |
2676 use it to do so. | 2676 use it to do so. |
2677 | 2677 |
2678 @item | 2678 @item |
2679 If the header uses @code{INLINE}, either directly or though | 2679 If the header uses @code{INLINE}, either directly or through |
2680 @code{DECLARE_LRECORD}, then it must be added to @file{inline.c}'s | 2680 @code{DECLARE_LRECORD}, then it must be added to @file{inline.c}'s |
2681 includes. | 2681 includes. |
2682 | 2682 |
2683 @item | 2683 @item |
2684 Try compiling at least once with | 2684 Try compiling at least once with |
2966 low-level macros. | 2966 low-level macros. |
2967 | 2967 |
2968 As a general rule, all typedefs should go into the typedefs section of | 2968 As a general rule, all typedefs should go into the typedefs section of |
2969 @file{lisp.h} rather than into a module-specific header file even if the | 2969 @file{lisp.h} rather than into a module-specific header file even if the |
2970 structure is defined elsewhere. This allows function prototypes that | 2970 structure is defined elsewhere. This allows function prototypes that |
2971 use the typedef to placed into other header files. Forward structure | 2971 use the typedef to be placed into other header files. Forward structure |
2972 declarations (i.e. a simple declaration like @code{struct foo;} where | 2972 declarations (i.e. a simple declaration like @code{struct foo;} where |
2973 the structure itself is defined elsewhere) should be placed into the | 2973 the structure itself is defined elsewhere) should be placed into the |
2974 typedefs section as necessary. | 2974 typedefs section as necessary. |
2975 | 2975 |
2976 @file{lrecord.h} contains the basic structures and macros that implement | 2976 @file{lrecord.h} contains the basic structures and macros that implement |