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 /* To suppress gcc-warning  (11/25/97, RMz) */
00035 #ifndef T1DELETE_C 
00036 typedef int Bool;
00037 #endif
00038 
00039 #ifndef X_PROTOCOL
00040 typedef unsigned long       Atom;
00041 typedef unsigned long       XID;
00042 #endif
00043 #ifndef LSBFirst
00044 #define LSBFirst     0
00045 #define MSBFirst     1
00046 #endif
00047 
00048 #ifndef None
00049 #define None  0l
00050 #endif
00051 
00052 #ifndef TRUE
00053 #define TRUE 1
00054 #define FALSE 0
00055 #endif
00056 
00057 extern char       *NameForAtom ();
00058 
00059 #define lowbit(x) ((x) & (~(x) + 1))
00060 
00061 #define assert(x)
00062 
00063 #endif /* _FONTMISC_H_ */