mirror of
https://github.com/cc65/cc65.git
synced 2024-10-29 20:27:50 +00:00
Add predefined type strings for float and double
git-svn-id: svn://svn.cc65.org/cc65/trunk@3105 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
0f80f0e297
commit
651c6e5cbf
@ -57,13 +57,15 @@
|
|||||||
|
|
||||||
|
|
||||||
/* Predefined type strings */
|
/* Predefined type strings */
|
||||||
type type_uchar [] = { T_UCHAR, T_END };
|
type type_uchar[] = { T_UCHAR, T_END };
|
||||||
type type_int [] = { T_INT, T_END };
|
type type_int[] = { T_INT, T_END };
|
||||||
type type_uint [] = { T_UINT, T_END };
|
type type_uint[] = { T_UINT, T_END };
|
||||||
type type_long [] = { T_LONG, T_END };
|
type type_long[] = { T_LONG, T_END };
|
||||||
type type_ulong [] = { T_ULONG, T_END };
|
type type_ulong[] = { T_ULONG, T_END };
|
||||||
type type_void [] = { T_VOID, T_END };
|
type type_void[] = { T_VOID, T_END };
|
||||||
type type_size_t [] = { T_SIZE_T, T_END };
|
type type_size_t[] = { T_SIZE_T, T_END };
|
||||||
|
type type_float[] = { T_FLOAT, T_END };
|
||||||
|
type type_double[] = { T_DOUBLE, T_END };
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -161,13 +161,15 @@ typedef unsigned short type;
|
|||||||
#define SIZEOF_PTR 2
|
#define SIZEOF_PTR 2
|
||||||
|
|
||||||
/* Predefined type strings */
|
/* Predefined type strings */
|
||||||
extern type type_uchar [];
|
extern type type_uchar[];
|
||||||
extern type type_int [];
|
extern type type_int[];
|
||||||
extern type type_uint [];
|
extern type type_uint[];
|
||||||
extern type type_long [];
|
extern type type_long[];
|
||||||
extern type type_ulong [];
|
extern type type_ulong[];
|
||||||
extern type type_void [];
|
extern type type_void[];
|
||||||
extern type type_size_t [];
|
extern type type_size_t[];
|
||||||
|
extern type type_float[];
|
||||||
|
extern type type_double[];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user