Mercurial > emacs
annotate src/m/celerity.h @ 71504:2b4e59cd1121
(Qeql): Add extern.
(x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition.
(fm_style_face_attributes_alist) [USE_ATSUI]: New variable.
(syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it.
Change keys of Vmac_atsu_font_table from strings to numbers.
(fm_style_to_face_attributes) [USE_ATSUI]: New function.
(init_font_name_table) [USE_ATSUI]: Use it.
(saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
(syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it.
[USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes
only when saved_ts_script_language_on_focus coincides with
Vmac_ts_script_language_on_focus.
[USE_MAC_TSM] (mac_tsm_suspend): Save value of
Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus.
(XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support.
[USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise.
| author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
|---|---|
| date | Wed, 28 Jun 2006 08:31:32 +0000 |
| parents | 3bd95f4f2941 |
| children | e90d04cd455a c5406394f567 |
| rev | line source |
|---|---|
| 456 | 1 /* machine description file for Celerity. |
|
64767
11814686b09f
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, |
|
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
3 2005, 2006 Free Software Foundation, Inc. |
| 456 | 4 |
| 5 This file is part of GNU Emacs. | |
| 6 | |
| 7 GNU Emacs is free software; you can redistribute it and/or modify | |
| 8 it under the terms of the GNU General Public License as published by | |
| 3699 | 9 the Free Software Foundation; either version 2, or (at your option) |
| 456 | 10 any later version. |
| 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 | |
| 18 along with GNU Emacs; see the file COPYING. If not, write to | |
| 64083 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 20 Boston, MA 02110-1301, USA. */ | |
| 456 | 21 |
| 22 | |
|
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
23 /* The following line tells the configuration script what sort of |
| 456 | 24 operating system this machine is likely to run. |
| 25 USUAL-OPSYS="bsd4-2" */ | |
| 26 | |
|
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
27 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
28 is the most significant byte. */ |
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
29 |
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
30 #define WORDS_BIG_ENDIAN |
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
31 |
| 456 | 32 /* XINT must explicitly sign extend */ |
| 33 | |
| 34 #define EXPLICIT_SIGN_EXTEND | |
| 35 | |
| 36 /* celerity preprocessor defines "accel", however the following is clearer */ | |
| 37 #define celerity | |
| 38 | |
| 39 /* #define NO_UNION_TYPE would be preferable, | |
| 40 but it does not work, and the reason is not yet known. */ | |
| 41 | |
| 42 #define NO_UNION_TYPE | |
| 43 | |
| 44 /* Data type of load average, as read out of kmem. */ | |
| 45 | |
| 46 #define LOAD_AVE_TYPE double | |
| 47 | |
| 48 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
| 49 | |
| 50 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | |
| 51 | |
| 52 /* A machine-specific loader switch is needed. */ | |
| 53 | |
| 54 #define LD_SWITCH_MACHINE -k100000 | |
| 55 | |
| 56 /* (short) negative-int doesn't sign-extend correctly */ | |
| 57 #define SHORT_CAST_BUG | |
| 52401 | 58 |
| 59 /* arch-tag: b4df1828-fab6-48f8-97bc-b8998c200eea | |
| 60 (do not change this comment) */ |
