Back to index

tetex-bin  3.0
fontmisc.h
Go to the documentation of this file.
00001 /*
00002  * $XConsortium: fontmisc.h,v 1.5 91/05/12 16:15:48 rws Exp $
00003  *
00004  * Copyright 1991 Massachusetts Institute of Technology
00005  *
00006  * Permission to use, copy, modify, distribute, and sell this software and its
00007  * documentation for any purpose is hereby granted without fee, provided that
00008  * the above copyright notice appear in all copies and that both that
00009  * copyright notice and this permission notice appear in supporting
00010  * documentation, and that the name of M.I.T. not be used in advertising or
00011  * publicity pertaining to distribution of the software without specific,
00012  * written prior permission.  M.I.T. makes no representations about the
00013  * suitability of this software for any purpose.  It is provided "as is"
00014  * without express or implied warranty.
00015  *
00016  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
00018  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
00019  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
00020  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
00021  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00022  *
00023  * Author:  Keith Packard, MIT X Consortium
00024  */
00025 
00026 #ifndef _FONTMISC_H_
00027 #define _FONTMISC_H_
00028 
00029 #ifdef XSERVER
00030 #include "Xfuncs.h"
00031 #endif
00032 
00033 typedef unsigned char       *pointer;
00034 typedef int          Bool;
00035 #ifndef X_PROTOCOL
00036 typedef unsigned long       Atom;
00037 typedef unsigned long       XID;
00038 #endif
00039 #ifndef LSBFirst
00040 #define LSBFirst     0
00041 #define MSBFirst     1
00042 #endif
00043 
00044 #ifndef None
00045 #define None  0l
00046 #endif
00047 
00048 #ifndef TRUE
00049 #define TRUE 1
00050 #define FALSE 0
00051 #endif
00052 
00053 extern char       *NameForAtom ();
00054 
00055 #define lowbit(x) ((x) & (~(x) + 1))
00056 
00057 #if defined(assert)
00058 #undef assert
00059 #endif
00060 
00061 #define assert(x)
00062 
00063 #endif /* _FONTMISC_H_ */