Fx2lib  0.2
include/fx2types.h
Go to the documentation of this file.
00001 // Copyright (C) 2009 Ubixum, Inc. 
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License, or (at your option) any later version.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00016 
00021 #ifndef FXTYPES_H
00022 #define FXTYPES_H
00023 
00024 typedef unsigned int WORD;
00025 typedef unsigned char BYTE;
00026 typedef unsigned long DWORD;
00027 typedef unsigned char BOOL; 
00028 typedef enum {
00029  FALSE=0,
00030  TRUE
00031 } BOOL_VALS;
00032 
00033 #ifndef NULL
00034 #define NULL (void*)0
00035 #endif
00036 
00037 /*-----------------------------------------------------------------------------
00038    Bit Masks
00039 -----------------------------------------------------------------------------*/
00040 
00041 #define bmBIT0  1
00042 #define bmBIT1  2
00043 #define bmBIT2  4
00044 #define bmBIT3  8
00045 #define bmBIT4  16
00046 #define bmBIT5  32
00047 #define bmBIT6  64
00048 #define bmBIT7  128
00049 
00050 #endif