comparison src/events.c @ 5046:d4f666cda5e6

some random fixups -------------------- ChangeLog entries follow: -------------------- man/ChangeLog addition: 2010-02-20 Ben Wing <ben@xemacs.org> * internals/internals.texi (Intro to Window and Frame Geometry): Shrink diagram to fit when offset by five spaces as a result of quoting. src/ChangeLog addition: 2010-02-20 Ben Wing <ben@xemacs.org> * syswindows.h: Add table about GNU Emacs -> XEmacs Windows constants from the internals manual. * frame.c: Shrink size of diagram consistent with internals manual. * alloc.c: * compiler.h: * console.c: * events.c: * gc.c (gc_stat_start_new_gc): * gc.c (gc_stat_resume_gc): * gc.c (kkcc_marking): * gc.c (gc_1): * gc.c (gc): * objects-tty.c: * redisplay-msw.c: * redisplay-msw.c (mswindows_clear_region): * syntax.c: * syntax.c (ST_COMMENT_STYLE): * sysdep.c: Fix various compiler warnings.
author Ben Wing <ben@xemacs.org>
date Sat, 20 Feb 2010 03:24:08 -0600
parents e813cf16c015
children 92dc90c0bb40
comparison
equal deleted inserted replaced
5045:c3cc3fa503a2 5046:d4f666cda5e6
1 /* Events: printing them, converting them to and from characters. 1 /* Events: printing them, converting them to and from characters.
2 Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. 2 Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
3 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois. 3 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois.
4 Copyright (C) 2001, 2002, 2005 Ben Wing. 4 Copyright (C) 2001, 2002, 2005, 2010 Ben Wing.
5 5
6 This file is part of XEmacs. 6 This file is part of XEmacs.
7 7
8 XEmacs is free software; you can redistribute it and/or modify it 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 9 under the terms of the GNU General Public License as published by the
38 #include "redisplay.h" 38 #include "redisplay.h"
39 #include "toolbar.h" 39 #include "toolbar.h"
40 #include "window.h" 40 #include "window.h"
41 41
42 #include "console-tty-impl.h" /* for stuff in character_to_event */ 42 #include "console-tty-impl.h" /* for stuff in character_to_event */
43
44 #ifdef HAVE_TTY
45 #define USED_IF_TTY(decl) decl
46 #else
47 #define USED_IF_TTY(decl) UNUSED (decl)
48 #endif
49
50 #ifdef HAVE_TOOLBARS
51 #define USED_IF_TOOLBARS(decl) decl
52 #else
53 #define USED_IF_TOOLBARS(decl) UNUSED (decl)
54 #endif
55 43
56 /* Where old events go when they are explicitly deallocated. 44 /* Where old events go when they are explicitly deallocated.
57 The event chain here is cut loose before GC, so these will be freed 45 The event chain here is cut loose before GC, so these will be freed
58 eventually. 46 eventually.
59 */ 47 */