view lwlib/lwlib-utils.h @ 101645:6cb2fc1f4cbe

* keyboard.c (pending_signals): New var. (poll_for_input, input_available_signal, init_keyboard): Set it. (process_pending_signals): New function. * lisp.h (QUIT): Check pending_signals instead of interrupt_input_pending. Use process_pending_signals. * atimer.c (run_timers, alarm_signal_handler): Update pending_signals. * process.c (wait_reading_process_output): Use process_pending_signals. * sysdep.c (emacs_write): Use process_pending_signals. * xterm.c (XTread_socket): Update pending_signals. * w32term.c (w32_read_socket): Update pending_signals. * w32inevt.c (w32_console_read_socket): Update pending_signals. * blockinput.h: Add declaration for pending_signals.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 29 Jan 2009 14:32:21 +0000
parents 695cf19ef79e
children 375f2633d815 e16f43875a48
line wrap: on
line source

#ifndef _LWLIB_UTILS_H_
#define _LWLIB_UTILS_H_

void XtNoClearRefreshWidget __P ((Widget));

typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer));
typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer));

void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer));
void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer));

Widget *XtCompositeChildren __P ((Widget, unsigned int *));

/* returns True is the widget is being destroyed, False otherwise */
Boolean
XtWidgetBeingDestroyedP __P ((Widget widget));

void XtSafelyDestroyWidget __P ((Widget));

#endif /* _LWLIB_UTILS_H_ */

/* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809
   (do not change this comment) */