Mercurial > emacs
annotate src/m/m68k.h @ 105923:1011707400d3
* menu.c (Fx_popup_menu): Consolidate versions from xmenu.c,
w32menu.c, and nsmenu.m.
Simplify the obsolete case where position is nil.
(cleanup_popup_menu): New function, moved from nsmenu.m.
(struct skp): Remove slot `notreal'.
(single_keymap_panes, keymap_panes): Remove arg `notreal' and adjust callers.
(single_menu_item): Adjust call to parse_menu_item.
(syms_of_menu): Defsubr x-popup-menu.
* menu.h (Vmenu_updating_frame): Consolidate declarations from *menu.c.
(keymap_panes): Don't export any more.
(mouse_position_for_popup, w32_menu_show, ns_menu_show, xmenu_show): Declare.
* keyboard.c (parse_menu_item): Remove arg `notreal'.
(menu_bar_item, read_char_minibuf_menu_prompt): Adjust callers.
* keyboard.h (parse_menu_item): Update declaration.
* xmenu.c (Fx_popup_menu): Remove.
(syms_of_xmenu): Don't defsubr x-popup-menu.
* w32menu.c (Fx_popup_menu): Remove.
(syms_of_w32menu): Don't defsubr x-popup-menu.
* nsmenu.m (cleanup_popup_menu): Remove.
(ns_menu_show): Rename from ns_popup_menu and remove all the code
moved to menu.c's Fx_popup_menu.
(Fx_popup_menu): Remove.
(syms_of_nsmenu): Don't defsubr x-popup-menu, and don't initialize
menu_items (it's done in menu.c already).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 09 Nov 2009 06:21:03 +0000 |
parents | e038c1a8307c |
children | 1d1d5d9bd884 |
rev | line source |
---|---|
13369 | 1 /* Machine description file for generic Motorola 68k. |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
2 Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
100951 | 3 2008, 2009 Free Software Foundation, Inc. |
13369 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
7 GNU Emacs is free software: you can redistribute it and/or modify |
13369 | 8 it under the terms of the GNU General Public License as published by |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
9 the Free Software Foundation, either version 3 of the License, or |
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
10 (at your option) any later version. |
13369 | 11 |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
13369 | 19 |
78499 | 20 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
13369 | 21 is the most significant byte. */ |
22 | |
23 #define WORDS_BIG_ENDIAN | |
24 | |
25 /* Now define a symbol for the cpu type, if your compiler | |
26 does not define it automatically. */ | |
27 | |
28 #ifndef m68k | |
29 #define m68k | |
30 #endif | |
31 | |
32 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
33 the 24-bit bit field into an int. In other words, if bit fields | |
34 are always unsigned. | |
35 | |
96602 | 36 This flag only matters if you use USE_LISP_UNION_TYPE. */ |
13369 | 37 |
38 #define EXPLICIT_SIGN_EXTEND | |
39 | |
96739
77c53729bbb6
* m/m68k.h (linux): Use GNU_LINUX instead.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96721
diff
changeset
|
40 #ifdef GNU_LINUX |
13369 | 41 #ifdef __ELF__ |
42 #define DATA_SEG_BITS 0x80000000 | |
43 #endif | |
44 | |
45 #define NO_REMAP | |
46 #define TEXT_START 0 | |
47 #endif | |
52401 | 48 |
49 /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d | |
50 (do not change this comment) */ |