device/include/mcs51/cc2430.h: added
[fw/sdcc] / device / include / typeof.h
1 /*-------------------------------------------------------------------------
2   typeof.h - Contains enumerations of values returned by __typeof
3  
4              Written By -  Sandeep Dutta . sandeep.dutta@usa.net (2001)
5
6    This program is free software; you can redistribute it and/or modify it
7    under the terms of the GNU General Public License as published by the
8    Free Software Foundation; either version 2, or (at your option) any
9    later version.
10    
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15    
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19    
20    In other words, you are welcome to use, share and improve this program.
21    You are forbidden to forbid anyone else to use, share and improve
22    what you give them.   Help stamp out software-hoarding!  
23 -------------------------------------------------------------------------*/
24
25 #ifndef __SDC51_TYPEOF_H
26 #define __SDC51_TYPEOF_H 1
27
28 #define TYPEOF_INT      1
29 #define TYPEOF_SHORT    2
30 #define TYPEOF_CHAR     3
31 #define TYPEOF_LONG     4
32 #define TYPEOF_FLOAT    5
33 #define TYPEOF_BIT      6
34 #define TYPEOF_SBIT     7
35 #define TYPEOF_SFR      8
36 #define TYPEOF_VOID     9
37 #define TYPEOF_STRUCT   10
38 #define TYPEOF_ARRAY    11
39 #define TYPEOF_FUNCTION 12
40 #define TYPEOF_POINTER  13
41 #define TYPEOF_FPOINTER 14
42 #define TYPEOF_CPOINTER 15
43 #define TYPEOF_GPOINTER 16
44 #define TYPEOF_PPOINTER 17
45 #define TYPEOF_IPOINTER 18
46 #define TYPEOF_EEPPOINTER       19
47
48 #endif