view src/=x11term.h @ 23896:c0c441b28347

File name changed from bdf.el. Provide ps-bdf instead of bdf. Require ps-mule instead of ps-print. (bdf-directory-list): Add autoload cookie. Programming uniformization and little code improvement. (bdf-search-and-read): New fun. (bdf-write-cache, bdf-initialize, bdf-info-absolute-path) (bdf-info-mod-time, bdf-info-size, bdf-info-font-bounding-box) (bdf-info-relative-compose, bdf-info-baseline-offset) (bdf-info-code-range, bdf-info-maxlen, bdf-info-offset-vector) (bdf-read-bitmap, bdf-get-bitmaps): Programming uniformization. (bdf-expand-file-name, bdf-file-newer-than-time, bdf-find-file) (bdf-read-cache, bdf-read-font-info, bdf-generate-glyphs): Little code improvement.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Dec 1998 06:39:39 +0000
parents ce011f7cd03f
children
line wrap: on
line source

#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/cursorfont.h>
#include <X11/Xutil.h>
#include <X11/X10.h>

#define XMOUSEBUFSIZE 64

#ifndef sigmask
#define sigmask(no) (1L << ((no) - 1))
#endif

#define BLOCK_INPUT_DECLARE() int BLOCK_INPUT_mask
#ifdef SIGIO
#define BLOCK_INPUT() EMACS_SIGBLOCKX (SIGIO, BLOCK_INPUT_mask)
#define UNBLOCK_INPUT() \
  do { int _dummy; EMACS_SIGSETMASK (BLOCK_INPUT_mask, _dummy); } while (0)
#else /* not SIGIO */
#define BLOCK_INPUT()
#define UNBLOCK_INPUT()
#endif /* SIGIO */

#define CLASS  "Emacs"	/* class id for GNU Emacs, used in .Xdefaults, etc. */