History

update VT_STRUCT_SHIFT for new VT_VLA

Joe Soroka committed 15 years ago

Commit b0c50fb1 parent 27751732 files · +2 −2Browse files

Unified · Split

2 files
  1. tcc-doc.texi +1 −1
  2. tcc.h +1 −1
tcc-doc.texi+1−1
@@ -935,7 +935,7 @@ be the best solution. · 934 unmodified lines
935935 #define VT_VOLATILE 0x0200 /* volatile modifier */
936936 #define VT_SIGNED 0x0400 /* signed type */
937937
938−#define VT_STRUCT_SHIFT 16 /* structure/enum name shift (16 bits left) */
938+#define VT_STRUCT_SHIFT 18 /* structure/enum name shift (14 bits left) */
939939 @end example
940940
941941 When a reference to another type is needed (for pointers, functions and
tcc.h+1−1
@@ -632,7 +632,7 @@ struct TCCState { · 631 unmodified lines
632632 #define VT_EXPORT 0x00010000 /* win32: data exported from dll */
633633 #define VT_WEAK 0x00020000 /* win32: data exported from dll */
634634
635−#define VT_STRUCT_SHIFT 17 /* shift for bitfield shift values */
635+#define VT_STRUCT_SHIFT 18 /* shift for bitfield shift values */
636636
637637 /* type mask (except storage) */
638638 #define VT_STORAGE (VT_EXTERN | VT_STATIC | VT_TYPEDEF | VT_INLINE | VT_IMPORT | VT_EXPORT | VT_WEAK)

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