/usr/lib/perl5/Tk/pTk/Xlib.m is in perl-tk 1:804.031-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 | #ifndef _XLIB_VM
#define _XLIB_VM
#include "Xlib_f.h"
#ifndef NO_VTABLES
#if (defined(__WIN32__) || defined(__PM__)) && !defined(DO_X_EXCLUDE)
# define DO_X_EXCLUDE
#endif
#ifndef DO_X_EXCLUDE
#ifndef XAllocClassHint
# define XAllocClassHint (*XlibVptr->V_XAllocClassHint)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XAllocColor
# define XAllocColor (*XlibVptr->V_XAllocColor)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XAllocNamedColor
# define XAllocNamedColor (*XlibVptr->V_XAllocNamedColor)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XAllocSizeHints
# define XAllocSizeHints (*XlibVptr->V_XAllocSizeHints)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XBell
# define XBell (*XlibVptr->V_XBell)
#endif
#ifndef XChangeGC
# define XChangeGC (*XlibVptr->V_XChangeGC)
#endif
#ifndef XChangeProperty
# define XChangeProperty (*XlibVptr->V_XChangeProperty)
#endif
#ifndef XChangeWindowAttributes
# define XChangeWindowAttributes (*XlibVptr->V_XChangeWindowAttributes)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XCheckIfEvent
# define XCheckIfEvent (*XlibVptr->V_XCheckIfEvent)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XCheckWindowEvent
# define XCheckWindowEvent (*XlibVptr->V_XCheckWindowEvent)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XClearWindow
# define XClearWindow (*XlibVptr->V_XClearWindow)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XClipBox
# define XClipBox (*XlibVptr->V_XClipBox)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XConfigureWindow
# define XConfigureWindow (*XlibVptr->V_XConfigureWindow)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XConvertSelection
# define XConvertSelection (*XlibVptr->V_XConvertSelection)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XCopyArea
# define XCopyArea (*XlibVptr->V_XCopyArea)
#endif
#ifndef XCopyPlane
# define XCopyPlane (*XlibVptr->V_XCopyPlane)
#endif
#ifndef XCreateBitmapFromData
# define XCreateBitmapFromData (*XlibVptr->V_XCreateBitmapFromData)
#endif
#ifndef XCreateColormap
# define XCreateColormap (*XlibVptr->V_XCreateColormap)
#endif
#ifndef XCreateGC
# define XCreateGC (*XlibVptr->V_XCreateGC)
#endif
#ifndef XCreateGlyphCursor
# define XCreateGlyphCursor (*XlibVptr->V_XCreateGlyphCursor)
#endif
#ifndef XCreateImage
# define XCreateImage (*XlibVptr->V_XCreateImage)
#endif
#ifndef XCreatePixmapCursor
# define XCreatePixmapCursor (*XlibVptr->V_XCreatePixmapCursor)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XCreateRegion
# define XCreateRegion (*XlibVptr->V_XCreateRegion)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XCreateWindow
# define XCreateWindow (*XlibVptr->V_XCreateWindow)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XDefaultColormap
# define XDefaultColormap (*XlibVptr->V_XDefaultColormap)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XDefaultDepth
# define XDefaultDepth (*XlibVptr->V_XDefaultDepth)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XDefaultScreen
# define XDefaultScreen (*XlibVptr->V_XDefaultScreen)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XDefaultVisual
# define XDefaultVisual (*XlibVptr->V_XDefaultVisual)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XDefineCursor
# define XDefineCursor (*XlibVptr->V_XDefineCursor)
#endif
#ifndef XDeleteProperty
# define XDeleteProperty (*XlibVptr->V_XDeleteProperty)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XDestroyRegion
# define XDestroyRegion (*XlibVptr->V_XDestroyRegion)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XDestroyWindow
# define XDestroyWindow (*XlibVptr->V_XDestroyWindow)
#endif
#ifndef XDrawArc
# define XDrawArc (*XlibVptr->V_XDrawArc)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XDrawImageString
# define XDrawImageString (*XlibVptr->V_XDrawImageString)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XDrawLine
# define XDrawLine (*XlibVptr->V_XDrawLine)
#endif
#ifndef XDrawLines
# define XDrawLines (*XlibVptr->V_XDrawLines)
#endif
#ifndef XDrawPoints
# define XDrawPoints (*XlibVptr->V_XDrawPoints)
#endif
#ifndef XDrawRectangle
# define XDrawRectangle (*XlibVptr->V_XDrawRectangle)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XDrawString
# define XDrawString (*XlibVptr->V_XDrawString)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XEventsQueued
# define XEventsQueued (*XlibVptr->V_XEventsQueued)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XFillArc
# define XFillArc (*XlibVptr->V_XFillArc)
#endif
#ifndef XFillPolygon
# define XFillPolygon (*XlibVptr->V_XFillPolygon)
#endif
#ifndef XFillRectangle
# define XFillRectangle (*XlibVptr->V_XFillRectangle)
#endif
#ifndef XFillRectangles
# define XFillRectangles (*XlibVptr->V_XFillRectangles)
#endif
#ifndef XFlush
# define XFlush (*XlibVptr->V_XFlush)
#endif
#ifndef XFree
# define XFree (*XlibVptr->V_XFree)
#endif
#ifndef XFreeColormap
# define XFreeColormap (*XlibVptr->V_XFreeColormap)
#endif
#ifndef XFreeColors
# define XFreeColors (*XlibVptr->V_XFreeColors)
#endif
#ifndef XFreeCursor
# define XFreeCursor (*XlibVptr->V_XFreeCursor)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XFreeFont
# define XFreeFont (*XlibVptr->V_XFreeFont)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XFreeFontNames
# define XFreeFontNames (*XlibVptr->V_XFreeFontNames)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XFreeGC
# define XFreeGC (*XlibVptr->V_XFreeGC)
#endif
#ifndef XFreeModifiermap
# define XFreeModifiermap (*XlibVptr->V_XFreeModifiermap)
#endif
#ifndef XGContextFromGC
# define XGContextFromGC (*XlibVptr->V_XGContextFromGC)
#endif
#ifndef XGetAtomName
# define XGetAtomName (*XlibVptr->V_XGetAtomName)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XGetFontProperty
# define XGetFontProperty (*XlibVptr->V_XGetFontProperty)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XGetGeometry
# define XGetGeometry (*XlibVptr->V_XGetGeometry)
#endif
#ifndef XGetImage
# define XGetImage (*XlibVptr->V_XGetImage)
#endif
#ifndef XGetInputFocus
# define XGetInputFocus (*XlibVptr->V_XGetInputFocus)
#endif
#ifndef XGetModifierMapping
# define XGetModifierMapping (*XlibVptr->V_XGetModifierMapping)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XGetSelectionOwner
# define XGetSelectionOwner (*XlibVptr->V_XGetSelectionOwner)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XGetVisualInfo
# define XGetVisualInfo (*XlibVptr->V_XGetVisualInfo)
#endif
#ifndef XGetWMColormapWindows
# define XGetWMColormapWindows (*XlibVptr->V_XGetWMColormapWindows)
#endif
#ifndef XGetWindowAttributes
# define XGetWindowAttributes (*XlibVptr->V_XGetWindowAttributes)
#endif
#ifndef XGetWindowProperty
# define XGetWindowProperty (*XlibVptr->V_XGetWindowProperty)
#endif
#ifndef XGrabKeyboard
# define XGrabKeyboard (*XlibVptr->V_XGrabKeyboard)
#endif
#ifndef XGrabPointer
# define XGrabPointer (*XlibVptr->V_XGrabPointer)
#endif
#ifndef XGrabServer
# define XGrabServer (*XlibVptr->V_XGrabServer)
#endif
#ifndef XIconifyWindow
# define XIconifyWindow (*XlibVptr->V_XIconifyWindow)
#endif
#ifndef XInternAtom
# define XInternAtom (*XlibVptr->V_XInternAtom)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XIntersectRegion
# define XIntersectRegion (*XlibVptr->V_XIntersectRegion)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XKeycodeToKeysym
# define XKeycodeToKeysym (*XlibVptr->V_XKeycodeToKeysym)
#endif
#ifndef XKeysymToString
# define XKeysymToString (*XlibVptr->V_XKeysymToString)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XListFonts
# define XListFonts (*XlibVptr->V_XListFonts)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XListHosts
# define XListHosts (*XlibVptr->V_XListHosts)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XListProperties
# define XListProperties (*XlibVptr->V_XListProperties)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XLoadFont
# define XLoadFont (*XlibVptr->V_XLoadFont)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XLoadQueryFont
# define XLoadQueryFont (*XlibVptr->V_XLoadQueryFont)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XLookupColor
# define XLookupColor (*XlibVptr->V_XLookupColor)
#endif
#ifndef XLookupString
# define XLookupString (*XlibVptr->V_XLookupString)
#endif
#ifndef XLowerWindow
# define XLowerWindow (*XlibVptr->V_XLowerWindow)
#endif
#ifndef XMapWindow
# define XMapWindow (*XlibVptr->V_XMapWindow)
#endif
#ifndef XMoveResizeWindow
# define XMoveResizeWindow (*XlibVptr->V_XMoveResizeWindow)
#endif
#ifndef XMoveWindow
# define XMoveWindow (*XlibVptr->V_XMoveWindow)
#endif
#ifndef XNextEvent
# define XNextEvent (*XlibVptr->V_XNextEvent)
#endif
#ifndef XNoOp
# define XNoOp (*XlibVptr->V_XNoOp)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XOpenDisplay
# define XOpenDisplay (*XlibVptr->V_XOpenDisplay)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XParseColor
# define XParseColor (*XlibVptr->V_XParseColor)
#endif
#ifndef XPutBackEvent
# define XPutBackEvent (*XlibVptr->V_XPutBackEvent)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XPutImage
# define XPutImage (*XlibVptr->V_XPutImage)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XQueryColors
# define XQueryColors (*XlibVptr->V_XQueryColors)
#endif
#ifndef XQueryPointer
# define XQueryPointer (*XlibVptr->V_XQueryPointer)
#endif
#ifndef XQueryTree
# define XQueryTree (*XlibVptr->V_XQueryTree)
#endif
#ifndef XRaiseWindow
# define XRaiseWindow (*XlibVptr->V_XRaiseWindow)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XReadBitmapFile
# define XReadBitmapFile (*XlibVptr->V_XReadBitmapFile)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XRectInRegion
# define XRectInRegion (*XlibVptr->V_XRectInRegion)
#endif
#ifndef XRefreshKeyboardMapping
# define XRefreshKeyboardMapping (*XlibVptr->V_XRefreshKeyboardMapping)
#endif
#ifndef XResizeWindow
# define XResizeWindow (*XlibVptr->V_XResizeWindow)
#endif
#ifndef XRootWindow
# define XRootWindow (*XlibVptr->V_XRootWindow)
#endif
#ifndef XSelectInput
# define XSelectInput (*XlibVptr->V_XSelectInput)
#endif
#ifndef XSendEvent
# define XSendEvent (*XlibVptr->V_XSendEvent)
#endif
#ifndef XSetBackground
# define XSetBackground (*XlibVptr->V_XSetBackground)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XSetClassHint
# define XSetClassHint (*XlibVptr->V_XSetClassHint)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XSetClipMask
# define XSetClipMask (*XlibVptr->V_XSetClipMask)
#endif
#ifndef XSetClipOrigin
# define XSetClipOrigin (*XlibVptr->V_XSetClipOrigin)
#endif
#ifndef XSetCommand
# define XSetCommand (*XlibVptr->V_XSetCommand)
#endif
#ifndef XSetDashes
# define XSetDashes (*XlibVptr->V_XSetDashes)
#endif
#ifndef XSetErrorHandler
# define XSetErrorHandler (*XlibVptr->V_XSetErrorHandler)
#endif
#ifndef XSetForeground
# define XSetForeground (*XlibVptr->V_XSetForeground)
#endif
#ifndef XSetIconName
# define XSetIconName (*XlibVptr->V_XSetIconName)
#endif
#ifndef XSetInputFocus
# define XSetInputFocus (*XlibVptr->V_XSetInputFocus)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XSetRegion
# define XSetRegion (*XlibVptr->V_XSetRegion)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XSetSelectionOwner
# define XSetSelectionOwner (*XlibVptr->V_XSetSelectionOwner)
#endif
#ifndef XSetTSOrigin
# define XSetTSOrigin (*XlibVptr->V_XSetTSOrigin)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XSetTransientForHint
# define XSetTransientForHint (*XlibVptr->V_XSetTransientForHint)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XSetWMClientMachine
# define XSetWMClientMachine (*XlibVptr->V_XSetWMClientMachine)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XSetWMColormapWindows
# define XSetWMColormapWindows (*XlibVptr->V_XSetWMColormapWindows)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XSetWMHints
# define XSetWMHints (*XlibVptr->V_XSetWMHints)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XSetWMName
# define XSetWMName (*XlibVptr->V_XSetWMName)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XSetWMNormalHints
# define XSetWMNormalHints (*XlibVptr->V_XSetWMNormalHints)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XSetWindowBackground
# define XSetWindowBackground (*XlibVptr->V_XSetWindowBackground)
#endif
#ifndef XSetWindowBackgroundPixmap
# define XSetWindowBackgroundPixmap (*XlibVptr->V_XSetWindowBackgroundPixmap)
#endif
#ifndef XSetWindowBorder
# define XSetWindowBorder (*XlibVptr->V_XSetWindowBorder)
#endif
#ifndef XSetWindowBorderPixmap
# define XSetWindowBorderPixmap (*XlibVptr->V_XSetWindowBorderPixmap)
#endif
#ifndef XSetWindowBorderWidth
# define XSetWindowBorderWidth (*XlibVptr->V_XSetWindowBorderWidth)
#endif
#ifndef XSetWindowColormap
# define XSetWindowColormap (*XlibVptr->V_XSetWindowColormap)
#endif
#ifndef XStringListToTextProperty
# define XStringListToTextProperty (*XlibVptr->V_XStringListToTextProperty)
#endif
#ifndef XStringToKeysym
# define XStringToKeysym (*XlibVptr->V_XStringToKeysym)
#endif
#ifndef XSubtractRegion
# define XSubtractRegion (*XlibVptr->V_XSubtractRegion)
#endif
#ifndef XSync
# define XSync (*XlibVptr->V_XSync)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XTextExtents
# define XTextExtents (*XlibVptr->V_XTextExtents)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef DO_X_EXCLUDE
#ifndef XTextWidth
# define XTextWidth (*XlibVptr->V_XTextWidth)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XTranslateCoordinates
# define XTranslateCoordinates (*XlibVptr->V_XTranslateCoordinates)
#endif
#ifndef XUngrabKeyboard
# define XUngrabKeyboard (*XlibVptr->V_XUngrabKeyboard)
#endif
#ifndef XUngrabPointer
# define XUngrabPointer (*XlibVptr->V_XUngrabPointer)
#endif
#ifndef XUngrabServer
# define XUngrabServer (*XlibVptr->V_XUngrabServer)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XUnionRectWithRegion
# define XUnionRectWithRegion (*XlibVptr->V_XUnionRectWithRegion)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XUnmapWindow
# define XUnmapWindow (*XlibVptr->V_XUnmapWindow)
#endif
#ifndef XVisualIDFromVisual
# define XVisualIDFromVisual (*XlibVptr->V_XVisualIDFromVisual)
#endif
#ifndef DO_X_EXCLUDE
#ifndef XWarpPointer
# define XWarpPointer (*XlibVptr->V_XWarpPointer)
#endif
#endif /* !DO_X_EXCLUDE */
#ifndef XWindowEvent
# define XWindowEvent (*XlibVptr->V_XWindowEvent)
#endif
#ifndef XWithdrawWindow
# define XWithdrawWindow (*XlibVptr->V_XWithdrawWindow)
#endif
#ifndef _XInitImageFuncPtrs
# define _XInitImageFuncPtrs (*XlibVptr->V__XInitImageFuncPtrs)
#endif
#endif /* NO_VTABLES */
#endif /* _XLIB_VM */
|