Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/X11
File: IntrinsicI.h
/***********************************************************
[0] Fix | Delete
[1] Fix | Delete
Copyright 1987, 1988, 1994, 1998 The Open Group
[2] Fix | Delete
[3] Fix | Delete
Permission to use, copy, modify, distribute, and sell this software and its
[4] Fix | Delete
documentation for any purpose is hereby granted without fee, provided that
[5] Fix | Delete
the above copyright notice appear in all copies and that both that
[6] Fix | Delete
copyright notice and this permission notice appear in supporting
[7] Fix | Delete
documentation.
[8] Fix | Delete
[9] Fix | Delete
The above copyright notice and this permission notice shall be included in
[10] Fix | Delete
all copies or substantial portions of the Software.
[11] Fix | Delete
[12] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
[13] Fix | Delete
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
[14] Fix | Delete
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
[15] Fix | Delete
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
[16] Fix | Delete
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
[17] Fix | Delete
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[18] Fix | Delete
[19] Fix | Delete
Except as contained in this notice, the name of The Open Group shall not be
[20] Fix | Delete
used in advertising or otherwise to promote the sale, use or other dealings
[21] Fix | Delete
in this Software without prior written authorization from The Open Group.
[22] Fix | Delete
[23] Fix | Delete
[24] Fix | Delete
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
[25] Fix | Delete
[26] Fix | Delete
All Rights Reserved
[27] Fix | Delete
[28] Fix | Delete
Permission to use, copy, modify, and distribute this software and its
[29] Fix | Delete
documentation for any purpose and without fee is hereby granted,
[30] Fix | Delete
provided that the above copyright notice appear in all copies and that
[31] Fix | Delete
both that copyright notice and this permission notice appear in
[32] Fix | Delete
supporting documentation, and that the name of Digital not be
[33] Fix | Delete
used in advertising or publicity pertaining to distribution of the
[34] Fix | Delete
software without specific, written prior permission.
[35] Fix | Delete
[36] Fix | Delete
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
[37] Fix | Delete
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
[38] Fix | Delete
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
[39] Fix | Delete
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
[40] Fix | Delete
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
[41] Fix | Delete
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
[42] Fix | Delete
SOFTWARE.
[43] Fix | Delete
[44] Fix | Delete
******************************************************************/
[45] Fix | Delete
[46] Fix | Delete
#ifndef _XtintrinsicI_h
[47] Fix | Delete
#define _XtintrinsicI_h
[48] Fix | Delete
[49] Fix | Delete
#include "Xtos.h"
[50] Fix | Delete
#include "IntrinsicP.h"
[51] Fix | Delete
#ifdef WIN32
[52] Fix | Delete
#define _WILLWINSOCK_
[53] Fix | Delete
#endif
[54] Fix | Delete
#include <X11/Xos.h>
[55] Fix | Delete
[56] Fix | Delete
#include "Object.h"
[57] Fix | Delete
#include "RectObj.h"
[58] Fix | Delete
#include "ObjectP.h"
[59] Fix | Delete
#include "RectObjP.h"
[60] Fix | Delete
[61] Fix | Delete
#include "ConvertI.h"
[62] Fix | Delete
#include "TranslateI.h"
[63] Fix | Delete
[64] Fix | Delete
#define RectObjClassFlag 0x02
[65] Fix | Delete
#define WidgetClassFlag 0x04
[66] Fix | Delete
#define CompositeClassFlag 0x08
[67] Fix | Delete
#define ConstraintClassFlag 0x10
[68] Fix | Delete
#define ShellClassFlag 0x20
[69] Fix | Delete
#define WMShellClassFlag 0x40
[70] Fix | Delete
#define TopLevelClassFlag 0x80
[71] Fix | Delete
[72] Fix | Delete
/*
[73] Fix | Delete
* The following macros, though very handy, are not suitable for
[74] Fix | Delete
* IntrinsicP.h as they violate the rule that arguments are to
[75] Fix | Delete
* be evaluated exactly once.
[76] Fix | Delete
*/
[77] Fix | Delete
[78] Fix | Delete
#define XtDisplayOfObject(object) \
[79] Fix | Delete
(XtIsWidget(object) ? (object)->core.screen->display : \
[80] Fix | Delete
_XtIsHookObject(object) ? ((HookObject)(object))->hooks.screen->display : \
[81] Fix | Delete
_XtWindowedAncestor(object)->core.screen->display)
[82] Fix | Delete
[83] Fix | Delete
#define XtScreenOfObject(object) \
[84] Fix | Delete
(XtIsWidget(object) ? (object)->core.screen : \
[85] Fix | Delete
_XtIsHookObject(object) ? ((HookObject)(object))->hooks.screen : \
[86] Fix | Delete
_XtWindowedAncestor(object)->core.screen)
[87] Fix | Delete
[88] Fix | Delete
#define XtWindowOfObject(object) \
[89] Fix | Delete
((XtIsWidget(object) ? (object) : _XtWindowedAncestor(object)) \
[90] Fix | Delete
->core.window)
[91] Fix | Delete
[92] Fix | Delete
#define XtIsManaged(object) \
[93] Fix | Delete
(XtIsRectObj(object) ? (object)->core.managed : False)
[94] Fix | Delete
[95] Fix | Delete
#define XtIsSensitive(object) \
[96] Fix | Delete
(XtIsRectObj(object) ? ((object)->core.sensitive && \
[97] Fix | Delete
(object)->core.ancestor_sensitive) : False)
[98] Fix | Delete
[99] Fix | Delete
[100] Fix | Delete
/****************************************************************
[101] Fix | Delete
*
[102] Fix | Delete
* Byte utilities
[103] Fix | Delete
*
[104] Fix | Delete
****************************************************************/
[105] Fix | Delete
[106] Fix | Delete
#define _XBCOPYFUNC _XtBcopy
[107] Fix | Delete
#include <X11/Xfuncs.h>
[108] Fix | Delete
[109] Fix | Delete
#define XtMemmove(dst, src, size) \
[110] Fix | Delete
if ((char *)(dst) != (char *)(src)) { \
[111] Fix | Delete
(void) memcpy((char *) (dst), (char *) (src), (size_t) (size)); \
[112] Fix | Delete
}
[113] Fix | Delete
[114] Fix | Delete
#define XtBZero(dst, size) \
[115] Fix | Delete
bzero((char *) (dst), (size_t) (size))
[116] Fix | Delete
[117] Fix | Delete
#define XtMemcmp(b1, b2, size) \
[118] Fix | Delete
memcmp((char *) (b1), (char *) (b2), (size_t) (size))
[119] Fix | Delete
[120] Fix | Delete
[121] Fix | Delete
/****************************************************************
[122] Fix | Delete
*
[123] Fix | Delete
* Stack cache allocation/free
[124] Fix | Delete
*
[125] Fix | Delete
****************************************************************/
[126] Fix | Delete
[127] Fix | Delete
#define XtStackAlloc(size, stack_cache_array) \
[128] Fix | Delete
((size) <= sizeof(stack_cache_array) \
[129] Fix | Delete
? (XtPointer)(stack_cache_array) \
[130] Fix | Delete
: XtMalloc((unsigned)(size)))
[131] Fix | Delete
[132] Fix | Delete
#define XtStackFree(pointer, stack_cache_array) \
[133] Fix | Delete
{ if ((pointer) != ((XtPointer)(stack_cache_array))) XtFree(pointer); }
[134] Fix | Delete
[135] Fix | Delete
/***************************************************************
[136] Fix | Delete
*
[137] Fix | Delete
* Filename defines
[138] Fix | Delete
*
[139] Fix | Delete
**************************************************************/
[140] Fix | Delete
[141] Fix | Delete
/* used by XtResolvePathname */
[142] Fix | Delete
#ifndef XFILESEARCHPATHDEFAULT
[143] Fix | Delete
#define XFILESEARCHPATHDEFAULT "/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S"
[144] Fix | Delete
#endif
[145] Fix | Delete
[146] Fix | Delete
/* the following two were both "X Toolkit " prior to R4 */
[147] Fix | Delete
#ifndef XTERROR_PREFIX
[148] Fix | Delete
#define XTERROR_PREFIX ""
[149] Fix | Delete
#endif
[150] Fix | Delete
[151] Fix | Delete
#ifndef XTWARNING_PREFIX
[152] Fix | Delete
#define XTWARNING_PREFIX ""
[153] Fix | Delete
#endif
[154] Fix | Delete
[155] Fix | Delete
#ifndef ERRORDB
[156] Fix | Delete
#define ERRORDB "/usr/lib/X11/XtErrorDB"
[157] Fix | Delete
#endif
[158] Fix | Delete
[159] Fix | Delete
_XFUNCPROTOBEGIN
[160] Fix | Delete
[161] Fix | Delete
extern String XtCXtToolkitError;
[162] Fix | Delete
[163] Fix | Delete
extern void _XtAllocError(
[164] Fix | Delete
String /* alloc_type */
[165] Fix | Delete
);
[166] Fix | Delete
[167] Fix | Delete
extern void _XtCompileResourceList(
[168] Fix | Delete
XtResourceList /* resources */,
[169] Fix | Delete
Cardinal /* num_resources */
[170] Fix | Delete
);
[171] Fix | Delete
[172] Fix | Delete
extern XtGeometryResult _XtMakeGeometryRequest(
[173] Fix | Delete
Widget /* widget */,
[174] Fix | Delete
XtWidgetGeometry* /* request */,
[175] Fix | Delete
XtWidgetGeometry* /* reply_return */,
[176] Fix | Delete
Boolean* /* clear_rect_obj */
[177] Fix | Delete
);
[178] Fix | Delete
[179] Fix | Delete
extern Boolean _XtIsHookObject(
[180] Fix | Delete
Widget /* widget */
[181] Fix | Delete
);
[182] Fix | Delete
[183] Fix | Delete
extern void _XtAddShellToHookObj(
[184] Fix | Delete
Widget /* widget */
[185] Fix | Delete
);
[186] Fix | Delete
[187] Fix | Delete
/* GCManager.c */
[188] Fix | Delete
extern void _XtGClistFree(Display *dpy, XtPerDisplay pd);
[189] Fix | Delete
[190] Fix | Delete
/** GeoTattler stuff */
[191] Fix | Delete
[192] Fix | Delete
#ifdef XT_GEO_TATTLER
[193] Fix | Delete
[194] Fix | Delete
extern void _XtGeoTab (int);
[195] Fix | Delete
extern void _XtGeoTrace (
[196] Fix | Delete
Widget widget,
[197] Fix | Delete
const char *,
[198] Fix | Delete
...
[199] Fix | Delete
) _X_ATTRIBUTE_PRINTF(2,3);
[200] Fix | Delete
[201] Fix | Delete
#define CALLGEOTAT(f) f
[202] Fix | Delete
[203] Fix | Delete
#else /* XT_GEO_TATTLER */
[204] Fix | Delete
[205] Fix | Delete
#define CALLGEOTAT(f)
[206] Fix | Delete
[207] Fix | Delete
#endif /* XT_GEO_TATTLER */
[208] Fix | Delete
[209] Fix | Delete
#ifndef XTTRACEMEMORY
[210] Fix | Delete
[211] Fix | Delete
extern char* __XtMalloc (
[212] Fix | Delete
unsigned /* size */
[213] Fix | Delete
);
[214] Fix | Delete
extern char* __XtCalloc (
[215] Fix | Delete
unsigned /* num */,
[216] Fix | Delete
unsigned /* size */
[217] Fix | Delete
);
[218] Fix | Delete
[219] Fix | Delete
#else
[220] Fix | Delete
[221] Fix | Delete
#define __XtMalloc XtMalloc
[222] Fix | Delete
#define __XtCalloc XtCalloc
[223] Fix | Delete
#endif
[224] Fix | Delete
[225] Fix | Delete
_XFUNCPROTOEND
[226] Fix | Delete
[227] Fix | Delete
#endif /* _XtintrinsicI_h */
[228] Fix | Delete
/* DON'T ADD STUFF AFTER THIS #endif */
[229] Fix | Delete
[230] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function