Mercurial > emacs
view 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 |
line wrap: on
line source
#define ORDINARY_LINK #define HPUX_USE_SHLIBS #define RUN_TIME_REMAP #include "hpux9.h" /* We must turn off -g since it forces -static. */ #ifdef __GNUC__ #undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH #endif