Mercurial > hg > xemacs-beta
annotate src/console-stream-impl.h @ 5374:d967d96ca043
Conditionalise the old-* functions and byte codes at compile time.
src/ChangeLog addition:
2011-03-15 Aidan Kehoe <kehoea@parhasard.net>
* config.h.in (SUPPORT_CONFOUNDING_FUNCTIONS): New #define,
equivalent NEED_TO_HANDLE_21_4_CODE by default, describing whether
this XEmacs should support the old-eq, old-equal and related
functions and byte codes.
* bytecode.c (UNUSED):
Only interpret old-eq, old-equal, old-memq if
SUPPORT_CONFOUNDING_FUNCTIONS is defined.
* data.c:
Move Fold_eq to fns.c with the rest of the Fold_* functions.
* fns.c:
* fns.c (Fmemq):
* fns.c (memq_no_quit):
* fns.c (assoc_no_quit):
* fns.c (Frassq):
* fns.c (Fequal):
* fns.c (Fold_equal):
* fns.c (syms_of_fns):
Group old-eq, old-equal, old-memq etc together, surround them with
#ifdef SUPPORT_CONFOUNDING_FUNCTIONS.
lisp/ChangeLog addition:
2011-03-15 Aidan Kehoe <kehoea@parhasard.net>
* bytecomp.el:
Don't generate the old-eq, old-memq, old-equal bytecodes any more,
but keep the information about them around for the sake of the
disassembler.
man/ChangeLog addition:
2011-03-15 Aidan Kehoe <kehoea@parhasard.net>
* lispref/objects.texi (Character Type):
* lispref/objects.texi (Equality Predicates):
No longer document `old-eq', `old-equal', they haven't been used
in years.
tests/ChangeLog addition:
2011-03-17 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el:
Only test the various old-* function if old-eq is bound and a
subr.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Thu, 17 Mar 2011 20:13:00 +0000 |
| parents | a9c41067dd88 |
| children | 308d34e9f07d |
| 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 { | |
| 3092 | 37 #ifdef NEW_GC |
|
5127
a9c41067dd88
more cleanups, terminology clarification, lots of doc work
Ben Wing <ben@xemacs.org>
parents:
5120
diff
changeset
|
38 NORMAL_LISP_OBJECT_HEADER header; |
| 3092 | 39 #endif /* NEW_GC */ |
| 872 | 40 FILE *in; |
| 41 FILE *out; | |
| 42 FILE *err; | |
| 43 int needs_newline; | |
| 1204 | 44 Lisp_Object instream; |
| 872 | 45 }; |
| 46 | |
| 3092 | 47 #ifdef NEW_GC |
| 48 typedef struct stream_console Lisp_Stream_Console; | |
| 49 | |
|
5118
e0db3c197671
merge up to latest default branch, doesn't compile yet
Ben Wing <ben@xemacs.org>
parents:
3092
diff
changeset
|
50 DECLARE_LISP_OBJECT (stream_console, Lisp_Stream_Console); |
| 3092 | 51 |
| 52 #define XSTREAM_CONSOLE(x) \ | |
| 53 XRECORD (x, stream_console, Lisp_Stream_Console) | |
| 54 #define wrap_stream_console(p) wrap_record (p, stream_console) | |
| 55 #define STREAM_CONSOLE_P(x) RECORDP (x, stream_console) | |
| 56 #endif /* NEW_GC */ | |
| 57 | |
| 872 | 58 #define CONSOLE_STREAM_DATA(con) CONSOLE_TYPE_DATA (con, stream) |
| 59 | |
| 60 #endif /* INCLUDED_console_stream_impl_h_ */ |
