Mercurial > emacs
annotate oldXMenu/XMenuInt.h @ 105877:21bdda3ded62
* xterm.c (syms_of_xterm):
* xselect.c (syms_of_xselect):
* xmenu.c (syms_of_xmenu):
* xfns.c (syms_of_xfns):
* xfaces.c (syms_of_xfaces):
* xdisp.c (syms_of_xdisp):
* window.c (syms_of_window):
* w32fns.c (syms_of_w32fns):
* undo.c (syms_of_undo):
* textprop.c (syms_of_textprop):
* terminal.c (syms_of_terminal):
* syntax.c (syms_of_syntax):
* sound.c (syms_of_sound):
* search.c (syms_of_search):
* print.c (syms_of_print):
* minibuf.c (syms_of_minibuf):
* macros.c (syms_of_macros):
* keymap.c (syms_of_keymap, initial_define_key)
(initial_define_lispy_key):
* keyboard.c (syms_of_keyboard):
* insdel.c (syms_of_insdel):
* image.c (syms_of_image):
* fringe.c (syms_of_fringe):
* frame.c (syms_of_frame):
* fontset.c (syms_of_fontset):
* fns.c (syms_of_fns):
* fns.c (syms_of_fns):
* fileio.c (syms_of_fileio):
* fileio.c (syms_of_fileio):
* eval.c (syms_of_eval):
* doc.c (syms_of_doc):
* dispnew.c (syms_of_display):
* dired.c (syms_of_dired):
* dbusbind.c (syms_of_dbusbind):
* data.c (syms_of_data):
* composite.c (syms_of_composite):
* coding.c (syms_of_coding):
* cmds.c (syms_of_cmds):
* charset.c (define_charset_internal, syms_of_character):
* ccl.c (syms_of_ccl):
* category.c (syms_of_category, init_category_once):
* casetab.c (syms_of_casetab):
* casefiddle.c (syms_of_casefiddle):
* callint.c (syms_of_callint):
* bytecode.c (syms_of_bytecode):
* buffer.c (keys_of_buffer, syms_of_buffer):
* alloc.c (syms_of_alloc):
* process.c (syms_of_process, init_process):
* lread.c (syms_of_lread, init_obarray):
* font.c (build_style_table):
* emacs.c (syms_of_emacs, main): Replace calls to intern with
intern_c_string, calls to make_pure_string with
make_pure_c_string. Use pure_cons instead of Fcons.
* process.c (socket_options): Make it const.
(set_socket_option, init_process): Use a const pointer.
* lread.c (intern_c_string): New function.
(defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
(defvar_int): Uset it. Make the name const char*.
* font.c (struct table_entry): Remove unused member. Make NAMES
constant.
(weight_table, slant_table, width_table): Make constant.
* emacs.c (struct standard_args): Make name and longname constant.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 06 Nov 2009 06:50:52 +0000 |
parents | c2500786b8c5 |
children | edf631bdbb7a ec58e5c426ef 5cc91198ffb2 |
rev | line source |
---|---|
25858 | 1 /* Copyright Massachusetts Institute of Technology 1985 */ |
76173
c2500786b8c5
Remove FSF copyright since file does not differ significantly from X11
Glenn Morris <rgm@gnu.org>
parents:
75348
diff
changeset
|
2 |
c2500786b8c5
Remove FSF copyright since file does not differ significantly from X11
Glenn Morris <rgm@gnu.org>
parents:
75348
diff
changeset
|
3 #include "copyright.h" |
c2500786b8c5
Remove FSF copyright since file does not differ significantly from X11
Glenn Morris <rgm@gnu.org>
parents:
75348
diff
changeset
|
4 |
25858 | 5 |
6 /* | |
7 * XMenu: MIT Project Athena, X Window system menu package | |
8 * | |
9 * XMenuInternal.h - Internal menu system include file for the | |
10 * MIT Project Athena XMenu X window system | |
11 * menu package. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
25858
diff
changeset
|
12 * |
25858 | 13 * Author: Tony Della Fera, DEC |
14 * October, 1985 | |
15 */ | |
16 | |
17 #ifndef _XMenuInternal_h_ | |
18 #define _XMenuInternal_h_ | |
19 | |
20 /* Avoid warnings about redefining NULL by including <stdio.h> first; | |
21 the other file which wants to define it (<stddef.h> on Ultrix | |
22 systems) can deal if NULL is already defined, but <stdio.h> can't. */ | |
23 #include <stdio.h> | |
24 #include <X11/Xlib.h> | |
25 #include "X10.h" | |
26 #include "XMenu.h" | |
27 | |
28 #define min(x, y) ((x) <= (y) ? (x) : (y)) | |
29 #define max(x, y) ((x) >= (y) ? (x) : (y)) | |
30 #define abs(a) ((a) < 0 ? -(a) : (a)) | |
31 | |
32 #define _X_FAILURE -1 | |
33 | |
34 #define _SUCCESS 1 | |
35 #define _FAILURE -1 | |
36 | |
37 /* | |
38 * XMenu internal event handler variable. | |
39 */ | |
40 extern int (*_XMEventHandler)(); | |
41 | |
42 #ifndef Pixel | |
43 #define Pixel unsigned long | |
44 #endif | |
45 | |
46 /* | |
47 * Internal routine declarations. | |
48 */ | |
49 int _XMWinQueInit(); /* No value actually returned. */ | |
50 int _XMWinQueAddPane(); | |
51 int _XMWinQueAddSelection(); | |
52 int _XMWinQueFlush(); | |
53 XMPane *_XMGetPanePtr(); | |
54 XMSelect *_XMGetSelectionPtr(); | |
55 int _XMRecomputeGlobals(); /* No value actually returned. */ | |
56 int _XMRecomputePane(); | |
57 int _XMRecomputeSelection(); | |
58 int _XMTransToOrigin(); /* No value actually returned. */ | |
59 int _XMRefreshPane(); /* No value actually returned. */ | |
60 int _XMRefreshSelections(); /* No value actually returned. */ | |
61 int _XMHighlightSelection(); /* No value actually returned. */ | |
62 | |
63 #endif | |
64 /* Don't add stuff after this #endif */ | |
52401 | 65 |
66 /* arch-tag: 00640af1-9386-48b5-a4be-35620b8cd3aa | |
67 (do not change this comment) */ |