Mercurial > emacs
annotate lwlib/lwlib-Xol.h @ 5634:e77e9d7386be
Include errno.h; don't include fasync.h.
(schedule): Don't return a value.
(sigcatch): Reestablish the handler first.
(getevent): Always call notify at the end.
(notify): Defer alarms around the whole body of function.
(main): Don't request SIGIO, and don't handle it.
Loop calling getevent.
(sigcatch): Delete code to handle SIGIO.
If defer_alarms is set, don't call notify, just set alarm_deferred.
(getevent): Use read, not getchar. Handle EINTR and EAGAIN.
Set defer_alarms around realloc and schedule.
If alarm_deferred gets set, call notify.
Likewise if this event is the only pending event.
Make buf and buf_size global variables.
Don't malloc buf if it is already non-zero.
(schedule): Just exit if run out of memory.
Return the number of events.
(signal) [_CX_UX]: Add #undef.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 19 Jan 1994 15:12:34 +0000 |
parents | f999ebca00da |
children |
rev | line source |
---|---|
5626 | 1 #ifndef LWLIB_XOL_H |
2 #define LWLIB_XOL_H | |
3 | |
5628 | 4 #include "lwlib-int.h" |
5626 | 5 |
6 extern widget_creation_entry xol_creation_table []; | |
7 extern Widget xol_create_dialog (widget_instance *); | |
8 | |
9 Boolean | |
10 lw_olit_widget_p (Widget widget); | |
11 | |
12 void | |
13 xol_update_one_widget (widget_instance* instance, Widget widget, | |
14 widget_value* val, Boolean deep_p); | |
15 | |
16 void | |
17 xol_update_one_value (widget_instance* instance, Widget widget, | |
18 widget_value* val); | |
19 | |
20 void | |
21 xol_destroy_instance (widget_instance* instance); | |
22 | |
23 void | |
24 xol_pop_instance (widget_instance* instance, Boolean up); | |
25 | |
26 void | |
27 xol_popup_menu (Widget widget); | |
28 | |
29 #endif /* LWLIB_XOL_H */ |