History

Reorder increasingly VT_* constants in tcc.h

Thomas Preud'homme committed 15 years ago

Commit 7f005231 parent a5a50ea2 files · +24 −24Browse files

Unified · Split

2 files
  1. tcc-doc.texi +12 −12
  2. tcc.h +12 −12
tcc-doc.texi+12−12
@@ -929,11 +929,11 @@ be the best solution. · 928 unmodified lines
929929 #define VT_BTYPE 0x000f /* mask for basic type */
930930 #define VT_UNSIGNED 0x0010 /* unsigned type */
931931 #define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */
932−#define VT_VLA 0x10000 /* VLA type (also has VT_PTR and VT_ARRAY) */
933−#define VT_BITFIELD 0x0040 /* bitfield modifier */
934−#define VT_CONSTANT 0x0800 /* const modifier */
935−#define VT_VOLATILE 0x1000 /* volatile modifier */
936−#define VT_SIGNED 0x2000 /* signed type */
932+#define VT_VLA 0x0040 /* VLA type (also has VT_PTR and VT_ARRAY) */
933+#define VT_BITFIELD 0x0080 /* bitfield modifier */
934+#define VT_CONSTANT 0x0100 /* const modifier */
935+#define VT_VOLATILE 0x0200 /* volatile modifier */
936+#define VT_SIGNED 0x0400 /* signed type */
937937
938938 #define VT_STRUCT_SHIFT 16 /* structure/enum name shift (16 bits left) */
939939 @end example
@@ -960,13 +960,13 @@ During parsing, the storage of an object is also stored in the type · 20 unmodified lines
960960 integer:
961961
962962 @example
963−#define VT_EXTERN 0x00000080 /* extern definition */
964−#define VT_STATIC 0x00000100 /* static variable */
965−#define VT_TYPEDEF 0x00000200 /* typedef definition */
966−#define VT_INLINE 0x00000400 /* inline definition */
967−#define VT_IMPORT 0x00004000 /* win32: extern data imported from dll */
968−#define VT_EXPORT 0x00008000 /* win32: data exported from dll */
969−#define VT_WEAK 0x00010000 /* win32: data exported from dll */
963+#define VT_EXTERN 0x00000800 /* extern definition */
964+#define VT_STATIC 0x00001000 /* static variable */
965+#define VT_TYPEDEF 0x00002000 /* typedef definition */
966+#define VT_INLINE 0x00004000 /* inline definition */
967+#define VT_IMPORT 0x00008000 /* win32: extern data imported from dll */
968+#define VT_EXPORT 0x00010000 /* win32: data exported from dll */
969+#define VT_WEAK 0x00020000 /* win32: data exported from dll */
970970 @end example
971971
972972 @section Symbols
tcc.h+12−12
@@ -617,20 +617,20 @@ struct TCCState { · 616 unmodified lines
617617 #define VT_BTYPE 0x000f /* mask for basic type */
618618 #define VT_UNSIGNED 0x0010 /* unsigned type */
619619 #define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */
620−#define VT_VLA 0x10000 /* VLA type (also has VT_PTR and VT_ARRAY) */
621−#define VT_BITFIELD 0x0040 /* bitfield modifier */
622−#define VT_CONSTANT 0x0800 /* const modifier */
623−#define VT_VOLATILE 0x1000 /* volatile modifier */
624−#define VT_SIGNED 0x2000 /* signed type */
620+#define VT_VLA 0x0040 /* VLA type (also has VT_PTR and VT_ARRAY) */
621+#define VT_BITFIELD 0x0080 /* bitfield modifier */
622+#define VT_CONSTANT 0x0100 /* const modifier */
623+#define VT_VOLATILE 0x0200 /* volatile modifier */
624+#define VT_SIGNED 0x0400 /* signed type */
625625
626626 /* storage */
627−#define VT_EXTERN 0x00000080 /* extern definition */
628−#define VT_STATIC 0x00000100 /* static variable */
629−#define VT_TYPEDEF 0x00000200 /* typedef definition */
630−#define VT_INLINE 0x00000400 /* inline definition */
631−#define VT_IMPORT 0x00004000 /* win32: extern data imported from dll */
632−#define VT_EXPORT 0x00008000 /* win32: data exported from dll */
633−#define VT_WEAK 0x00010000 /* win32: data exported from dll */
627+#define VT_EXTERN 0x00000800 /* extern definition */
628+#define VT_STATIC 0x00001000 /* static variable */
629+#define VT_TYPEDEF 0x00002000 /* typedef definition */
630+#define VT_INLINE 0x00004000 /* inline definition */
631+#define VT_IMPORT 0x00008000 /* win32: extern data imported from dll */
632+#define VT_EXPORT 0x00010000 /* win32: data exported from dll */
633+#define VT_WEAK 0x00020000 /* win32: data exported from dll */
634634
635635 #define VT_STRUCT_SHIFT 17 /* shift for bitfield shift values */
636636

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t