comparison src/buffer.c @ 53655:4f64423a6040

(buffer_defaults, buffer_local_symbols): Use DECL_ALIGN.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 21 Jan 2004 04:32:19 +0000
parents 4c14b3c50a31
children 004f4b57ea3f 82c3b4da43ca
comparison
equal deleted inserted replaced
53654:8dc805af6250 53655:4f64423a6040
1 /* Buffer manipulation primitives for GNU Emacs. 1 /* Buffer manipulation primitives for GNU Emacs.
2 Copyright (C) 1985,86,87,88,89,93,94,95,97,98, 1999, 2000, 2001, 02, 2003 2 Copyright (C) 1985,86,87,88,89,93,94,95,97,98, 1999, 2000, 2001, 02, 03, 2004
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5 This file is part of GNU Emacs. 5 This file is part of GNU Emacs.
6 6
7 GNU Emacs is free software; you can redistribute it and/or modify 7 GNU Emacs is free software; you can redistribute it and/or modify
65 The default value occupies the same slot in this structure 65 The default value occupies the same slot in this structure
66 as an individual buffer's value occupies in that buffer. 66 as an individual buffer's value occupies in that buffer.
67 Setting the default value also goes through the alist of buffers 67 Setting the default value also goes through the alist of buffers
68 and stores into each buffer that does not say it has a local value. */ 68 and stores into each buffer that does not say it has a local value. */
69 69
70 struct buffer buffer_defaults; 70 DECL_ALIGN (struct buffer, buffer_defaults);
71 71
72 /* A Lisp_Object pointer to the above, used for staticpro */ 72 /* A Lisp_Object pointer to the above, used for staticpro */
73 73
74 static Lisp_Object Vbuffer_defaults; 74 static Lisp_Object Vbuffer_defaults;
75 75
95 struct buffer buffer_local_flags; 95 struct buffer buffer_local_flags;
96 96
97 /* This structure holds the names of symbols whose values may be 97 /* This structure holds the names of symbols whose values may be
98 buffer-local. It is indexed and accessed in the same way as the above. */ 98 buffer-local. It is indexed and accessed in the same way as the above. */
99 99
100 struct buffer buffer_local_symbols; 100 DECL_ALIGN (struct buffer, buffer_local_symbols);
101
101 /* A Lisp_Object pointer to the above, used for staticpro */ 102 /* A Lisp_Object pointer to the above, used for staticpro */
102 static Lisp_Object Vbuffer_local_symbols; 103 static Lisp_Object Vbuffer_local_symbols;
103 104
104 /* This structure holds the required types for the values in the 105 /* This structure holds the required types for the values in the
105 buffer-local slots. If a slot contains Qnil, then the 106 buffer-local slots. If a slot contains Qnil, then the