1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XFreePixmap.c,v 10.5 86/02/01 15:34:23 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: XFreePixmap (pixmap)
   8:         register Pixmap pixmap;
   9: {
  10:     register Display *dpy = _XlibCurrentDisplay;
  11:     register XReq *req;
  12: 
  13:     if (pixmap == dpy->black || pixmap == dpy->white)
  14:         return;  /* don't free the constant tile pixmaps! */
  15: 
  16:     GetReq(X_FreePixmap, 0);
  17:     req->param.l[0] = pixmap;
  18:     return;
  19: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 965
Valid CSS Valid XHTML 1.0 Strict