comparison src/alloc.c @ 43713:f92c4d87863a

Change defvar_int def and vars to use EMACS_INT instead of just int.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 04 Mar 2002 23:41:00 +0000
parents 383c4e6bb59c
children c82e347557f1
comparison
equal deleted inserted replaced
43712:223f1f5d160d 43713:f92c4d87863a
120 120
121 int consing_since_gc; 121 int consing_since_gc;
122 122
123 /* Count the amount of consing of various sorts of space. */ 123 /* Count the amount of consing of various sorts of space. */
124 124
125 int cons_cells_consed; 125 EMACS_INT cons_cells_consed;
126 int floats_consed; 126 EMACS_INT floats_consed;
127 int vector_cells_consed; 127 EMACS_INT vector_cells_consed;
128 int symbols_consed; 128 EMACS_INT symbols_consed;
129 int string_chars_consed; 129 EMACS_INT string_chars_consed;
130 int misc_objects_consed; 130 EMACS_INT misc_objects_consed;
131 int intervals_consed; 131 EMACS_INT intervals_consed;
132 int strings_consed; 132 EMACS_INT strings_consed;
133 133
134 /* Number of bytes of consing since GC before another GC should be done. */ 134 /* Number of bytes of consing since GC before another GC should be done. */
135 135
136 int gc_cons_threshold; 136 EMACS_INT gc_cons_threshold;
137 137
138 /* Nonzero during GC. */ 138 /* Nonzero during GC. */
139 139
140 int gc_in_progress; 140 int gc_in_progress;
141 141
153 #endif /* VIRT_ADDR_VARIES */ 153 #endif /* VIRT_ADDR_VARIES */
154 int malloc_sbrk_unused; 154 int malloc_sbrk_unused;
155 155
156 /* Two limits controlling how much undo information to keep. */ 156 /* Two limits controlling how much undo information to keep. */
157 157
158 int undo_limit; 158 EMACS_INT undo_limit;
159 int undo_strong_limit; 159 EMACS_INT undo_strong_limit;
160 160
161 /* Number of live and free conses etc. */ 161 /* Number of live and free conses etc. */
162 162
163 static int total_conses, total_markers, total_symbols, total_vector_size; 163 static int total_conses, total_markers, total_symbols, total_vector_size;
164 static int total_free_conses, total_free_markers, total_free_symbols; 164 static int total_free_conses, total_free_markers, total_free_symbols;
213 && ((PNTR_COMPARISON_TYPE) (P) \ 213 && ((PNTR_COMPARISON_TYPE) (P) \
214 >= (PNTR_COMPARISON_TYPE) purebeg)) 214 >= (PNTR_COMPARISON_TYPE) purebeg))
215 215
216 /* Index in pure at which next pure object will be allocated.. */ 216 /* Index in pure at which next pure object will be allocated.. */
217 217
218 int pure_bytes_used; 218 EMACS_INT pure_bytes_used;
219 219
220 /* If nonzero, this is a warning delivered by malloc and not yet 220 /* If nonzero, this is a warning delivered by malloc and not yet
221 displayed. */ 221 displayed. */
222 222
223 char *pending_malloc_warning; 223 char *pending_malloc_warning;