view lwlib/lwlib-utils.h @ 31119:afa1f54fb948

(malloc, free, realloc, calloc): Rename if USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it cannot override the CRT malloc. (_WINSOCK_H): Define to prevent normal winsock definitions from being used. (sys_nerr): Provide default definition. (strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same name with _ prepended. (NSIG): Define if not known. (get_emacs_configuration): Provide extern declaration. (get_emacs_configuration_options): Provide extern declaration. (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 23:55:09 +0000
parents 6ed38ee607e9
children 695cf19ef79e
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_ */