annotate src/console-stream-impl.h @ 3016:f252275fb013
[xemacs-hg @ 2005-10-24 08:12:59 by ben]
refactor mc-alloc dependencies
next-error.el, occur.el: Fix some byte-compile warnings.
alloc.c, buffer.c, buffer.h, casetab.c, casetab.h, charset.h, chartab.c, chartab.h, console-impl.h, console-msw-impl.h, console.c, data.c, database.c, device-impl.h, device-msw.c, device.c, dialog-msw.c, elhash.c, events.h, extents-impl.h, extents.c, faces.c, faces.h, file-coding.c, file-coding.h, frame-impl.h, frame.c, glyphs.c, glyphs.h, gui.c, gui.h, keymap.c, lisp.h, lrecord.h, lstream.c, lstream.h, mule-charset.c, objects-impl.h, objects.c, opaque.c, opaque.h, print.c, process.c, procimpl.h, rangetab.c, rangetab.h, scrollbar-gtk.c, scrollbar-msw.c, scrollbar-x.c, scrollbar.c, scrollbar.h, specifier.c, specifier.h, symbols.c, symeval.h, toolbar.c, toolbar.h, tooltalk.c, ui-gtk.c, ui-gtk.h, unicode.c, window-impl.h, window.c:
Eliminate the majority of #ifdef MC_ALLOC occurrences through
macros LCRECORD_HEADER, ALLOC_LCRECORD_TYPE, MALLOCED_STORAGE_SIZE,
etc. (defined in lrecord.h).
| author |
ben |
| date |
Mon, 24 Oct 2005 08:12:59 +0000 |
| parents |
e22b0213b713 |
| children |
141c2920ea48 |
| rev |
line source |
|
872
|
1 /* Define stream specific console, device, and frame object for XEmacs.
|
|
|
2 Copyright (C) 1995 Board of Trustees, University of Illinois.
|
|
|
3 Copyright (C) 1995 Free Software Foundation, Inc.
|
|
1204
|
4 Copyright (C) 2002 Ben Wing.
|
|
872
|
5
|
|
|
6 This file is part of XEmacs.
|
|
|
7
|
|
|
8 XEmacs is free software; you can redistribute it and/or modify it
|
|
|
9 under the terms of the GNU General Public License as published by the
|
|
|
10 Free Software Foundation; either version 2, or (at your option) any
|
|
|
11 later version.
|
|
|
12
|
|
|
13 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
16 for more details.
|
|
|
17
|
|
|
18 You should have received a copy of the GNU General Public License
|
|
|
19 along with XEmacs; see the file COPYING. If not, write to
|
|
|
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
21 Boston, MA 02111-1307, USA. */
|
|
|
22
|
|
|
23 /* Synched up with: Not in FSF. */
|
|
|
24
|
|
|
25 /* Written by Ben Wing. */
|
|
|
26
|
|
|
27 #ifndef INCLUDED_console_stream_impl_h_
|
|
|
28 #define INCLUDED_console_stream_impl_h_
|
|
|
29
|
|
|
30 #include "console-impl.h"
|
|
|
31 #include "console-stream.h"
|
|
|
32
|
|
|
33 DECLARE_CONSOLE_TYPE (stream);
|
|
|
34
|
|
|
35 struct stream_console
|
|
|
36 {
|
|
|
37 FILE *in;
|
|
|
38 FILE *out;
|
|
|
39 FILE *err;
|
|
|
40 int needs_newline;
|
|
1204
|
41 Lisp_Object instream;
|
|
872
|
42 };
|
|
|
43
|
|
|
44 #define CONSOLE_STREAM_DATA(con) CONSOLE_TYPE_DATA (con, stream)
|
|
|
45
|
|
|
46 #endif /* INCLUDED_console_stream_impl_h_ */
|