Mercurial > hg > xemacs-beta
comparison src/console-stream.c @ 3263:d674024a8674
[xemacs-hg @ 2006-02-27 16:29:00 by crestani]
- Introduce a fancy asynchronous finalization strategy on C level.
- Merge the code conditioned on MC_ALLOC into the code conditioned on
NEW_GC.
- Remove the possibility to free objects manually outside garbage
collections when the new collector is enabled.
author | crestani |
---|---|
date | Mon, 27 Feb 2006 16:29:29 +0000 |
parents | 141c2920ea48 |
children | ea701c23ed84 e0db3c197671 |
comparison
equal
deleted
inserted
replaced
3262:79d41cfd8e6b | 3263:d674024a8674 |
---|---|
135 fflush (stream_con->out); | 135 fflush (stream_con->out); |
136 } | 136 } |
137 if (stream_con->in != stdin) | 137 if (stream_con->in != stdin) |
138 retry_fclose (stream_con->in); | 138 retry_fclose (stream_con->in); |
139 | 139 |
140 #ifdef NEW_GC | 140 #ifndef NEW_GC |
141 mc_free (stream_con); | |
142 #else /* not NEW_GC */ | |
143 xfree (stream_con, struct stream_console *); | 141 xfree (stream_con, struct stream_console *); |
144 #endif /* not NEW_GC */ | 142 #endif /* not NEW_GC */ |
145 CONSOLE_STREAM_DATA (con) = NULL; | 143 CONSOLE_STREAM_DATA (con) = NULL; |
146 } | 144 } |
147 } | 145 } |