wportab.h

Go to the documentation of this file.
00001 /*
00002  * WinDom: a high level GEM library
00003  * Copyright (c) 1997-2006 windom authors (see AUTHORS file)
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00018  *
00019  * $Source: /cvsroot/windom/htdocs/doc/html/wportab_8h-source.html,v $
00020  * Module : WinDom portab file
00021  *
00022  * CVS info:
00023  *   $Author: bercegeay $
00024  *   $Date: 2006/06/22 11:58:30 $
00025  *   $Revision: 1.5 $
00026  */
00027 
00028 
00029 #ifndef __WPORTAB_H__
00030 #define __WPORTAB_H__
00031 
00032 #ifndef __PORTAB_H__
00033 #define __PORTAB_H__
00034 
00035 /* Compiler */
00036 
00037 #ifdef __PUREC__
00038 # define __MSHORT__     /* int have a 16-bit size */
00039 # define __CDECL cdecl
00040 # define __EXTERN extern
00041 # define __PROTO(a) a
00042 #else
00043 # ifndef _COMPILER_H_
00044 #  include <compiler.h>
00045 # endif
00046 #endif
00047 
00048 
00049 /* Type */
00050 
00051 #ifdef __PUREC__
00052 # define INT16 int
00053 #else
00054 # define INT16 short
00055 #endif
00056 
00057 #define BYTE    char
00058 #define UBYTE   unsigned char
00059 #define WORD    INT16
00060 #define UWORD   unsigned INT16
00061 #define LONG    long
00062 #define ULONG   unsigned long
00063 #define VOID    void
00064 #define VOIDP   void*
00065 
00066 /* Special keyword */
00067 #define EXTERN  __EXTERN
00068 
00069 /* Constants */
00070 #define TRUE    1
00071 #define FALSE   0
00072 
00073 #endif /* __PORTAB_H__ */
00074 #endif /* __WPORTAB_H__ */

Generated on Thu Jun 22 11:45:27 2006 for WinDom by  doxygen 1.4.6