Mercurial > emacs
annotate src/s/hpux9shr.h @ 11237:7c968b691ff0
(frame_vector): New static variable.
(syms_of_xmenu): staticpro it.
(frame_vector_add_frame): New function.
(set_frame_menubar): Use frame_vector; use index as the widget id.
(free_frame_menubar): Likewise. Remove the frame from frame_vector.
(menubar_selection_callback): Use frame_vector to turn id into frame.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 07 Apr 1995 03:39:07 +0000 |
parents | f6ff66f6a358 |
children | 6e415bb093fe |
rev | line source |
---|---|
7620 | 1 #define ORDINARY_LINK |
2 #define HPUX_USE_SHLIBS | |
3 #define RUN_TIME_REMAP | |
4 | |
5 #include "hpux9.h" | |
7914
f6ff66f6a358
(C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
7620
diff
changeset
|
6 |
f6ff66f6a358
(C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
7620
diff
changeset
|
7 /* We must turn off -g since it forces -static. */ |
f6ff66f6a358
(C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
7620
diff
changeset
|
8 #ifdef __GNUC__ |
f6ff66f6a358
(C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
7620
diff
changeset
|
9 #undef C_DEBUG_SWITCH |
f6ff66f6a358
(C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
7620
diff
changeset
|
10 #define C_DEBUG_SWITCH |
f6ff66f6a358
(C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
7620
diff
changeset
|
11 #endif |