From: sandeep Date: Wed, 21 Nov 2001 17:04:35 +0000 (+0000) Subject: Has __typeof enumerations X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=28735782ed843f7b2f43d239eb8c4970819d2f4d;p=fw%2Fsdcc Has __typeof enumerations git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1625 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/include/typeof.h b/device/include/typeof.h new file mode 100644 index 00000000..6b5b4a6b --- /dev/null +++ b/device/include/typeof.h @@ -0,0 +1,48 @@ +/*------------------------------------------------------------------------- + typeof.h - Contains enumerations of values returned by __typeof + + Written By - Sandeep Dutta . sandeep.dutta@usa.net (2001) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + In other words, you are welcome to use, share and improve this program. + You are forbidden to forbid anyone else to use, share and improve + what you give them. Help stamp out software-hoarding! +-------------------------------------------------------------------------*/ + +#ifndef __SDC51_TYPEOF_H +#define __SDC51_TYPEOF_H 1 + +#define TYPEOF_INT 1 +#define TYPEOF_SHORT 2 +#define TYPEOF_CHAR 3 +#define TYPEOF_LONG 4 +#define TYPEOF_FLOAT 5 +#define TYPEOF_BIT 6 +#define TYPEOF_SBIT 7 +#define TYPEOF_SFR 8 +#define TYPEOF_VOID 9 +#define TYPEOF_STRUCT 10 +#define TYPEOF_ARRAY 11 +#define TYPEOF_FUNCTION 12 +#define TYPEOF_POINTER 13 +#define TYPEOF_FPOINTER 14 +#define TYPEOF_CPOINTER 15 +#define TYPEOF_GPOINTER 16 +#define TYPEOF_PPOINTER 17 +#define TYPEOF_IPOINTER 18 +#define TYPEOF_EEPPOINTER 19 + +#endif