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
929#define VT_BTYPE 0x000f /* mask for basic type */929#define VT_BTYPE 0x000f /* mask for basic type */
930#define VT_UNSIGNED 0x0010 /* unsigned type */930#define VT_UNSIGNED 0x0010 /* unsigned type */
931#define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */931#define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */
932#define VT_VLA 0x10000 /* VLA type (also has VT_PTR and VT_ARRAY) */932#define VT_VLA 0x0040 /* VLA type (also has VT_PTR and VT_ARRAY) */
933#define VT_BITFIELD 0x0040 /* bitfield modifier */933#define VT_BITFIELD 0x0080 /* bitfield modifier */
934#define VT_CONSTANT 0x0800 /* const modifier */934#define VT_CONSTANT 0x0100 /* const modifier */
935#define VT_VOLATILE 0x1000 /* volatile modifier */935#define VT_VOLATILE 0x0200 /* volatile modifier */
936#define VT_SIGNED 0x2000 /* signed type */936#define VT_SIGNED 0x0400 /* signed type */
937 937
938#define VT_STRUCT_SHIFT 16 /* structure/enum name shift (16 bits left) */938#define VT_STRUCT_SHIFT 16 /* structure/enum name shift (16 bits left) */
939@end example939@end example
@@ -960,13 +960,13 @@ During parsing, the storage of an object is also stored in the type · 20 unmodified lines
960integer:960integer:
961 961
962@example962@example
963#define VT_EXTERN 0x00000080 /* extern definition */963#define VT_EXTERN 0x00000800 /* extern definition */
964#define VT_STATIC 0x00000100 /* static variable */964#define VT_STATIC 0x00001000 /* static variable */
965#define VT_TYPEDEF 0x00000200 /* typedef definition */965#define VT_TYPEDEF 0x00002000 /* typedef definition */
966#define VT_INLINE 0x00000400 /* inline definition */966#define VT_INLINE 0x00004000 /* inline definition */
967#define VT_IMPORT 0x00004000 /* win32: extern data imported from dll */967#define VT_IMPORT 0x00008000 /* win32: extern data imported from dll */
968#define VT_EXPORT 0x00008000 /* win32: data exported from dll */968#define VT_EXPORT 0x00010000 /* win32: data exported from dll */
969#define VT_WEAK 0x00010000 /* win32: data exported from dll */969#define VT_WEAK 0x00020000 /* win32: data exported from dll */
970@end example970@end example
971 971
972@section Symbols972@section Symbols
tcc.h+12−12
@@ -617,20 +617,20 @@ struct TCCState { · 616 unmodified lines
617#define VT_BTYPE 0x000f /* mask for basic type */617#define VT_BTYPE 0x000f /* mask for basic type */
618#define VT_UNSIGNED 0x0010 /* unsigned type */618#define VT_UNSIGNED 0x0010 /* unsigned type */
619#define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */619#define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */
620#define VT_VLA 0x10000 /* VLA type (also has VT_PTR and VT_ARRAY) */620#define VT_VLA 0x0040 /* VLA type (also has VT_PTR and VT_ARRAY) */
621#define VT_BITFIELD 0x0040 /* bitfield modifier */621#define VT_BITFIELD 0x0080 /* bitfield modifier */
622#define VT_CONSTANT 0x0800 /* const modifier */622#define VT_CONSTANT 0x0100 /* const modifier */
623#define VT_VOLATILE 0x1000 /* volatile modifier */623#define VT_VOLATILE 0x0200 /* volatile modifier */
624#define VT_SIGNED 0x2000 /* signed type */624#define VT_SIGNED 0x0400 /* signed type */
625 625
626/* storage */626/* storage */
627#define VT_EXTERN 0x00000080 /* extern definition */627#define VT_EXTERN 0x00000800 /* extern definition */
628#define VT_STATIC 0x00000100 /* static variable */628#define VT_STATIC 0x00001000 /* static variable */
629#define VT_TYPEDEF 0x00000200 /* typedef definition */629#define VT_TYPEDEF 0x00002000 /* typedef definition */
630#define VT_INLINE 0x00000400 /* inline definition */630#define VT_INLINE 0x00004000 /* inline definition */
631#define VT_IMPORT 0x00004000 /* win32: extern data imported from dll */631#define VT_IMPORT 0x00008000 /* win32: extern data imported from dll */
632#define VT_EXPORT 0x00008000 /* win32: data exported from dll */632#define VT_EXPORT 0x00010000 /* win32: data exported from dll */
633#define VT_WEAK 0x00010000 /* win32: data exported from dll */633#define VT_WEAK 0x00020000 /* win32: data exported from dll */
634 634
635#define VT_STRUCT_SHIFT 17 /* shift for bitfield shift values */635#define VT_STRUCT_SHIFT 17 /* shift for bitfield shift values */
636 636

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