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
935#define VT_VOLATILE 0x0200 /* volatile modifier */935#define VT_VOLATILE 0x0200 /* volatile modifier */
936#define VT_SIGNED 0x0400 /* 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 18 /* structure/enum name shift (14 bits left) */
939@end example939@end example
940 940
941When a reference to another type is needed (for pointers, functions and941When a reference to another type is needed (for pointers, functions and
tcc.h+1−1
@@ -632,7 +632,7 @@ struct TCCState { · 631 unmodified lines
632#define VT_EXPORT 0x00010000 /* win32: data exported from dll */632#define VT_EXPORT 0x00010000 /* win32: data exported from dll */
633#define VT_WEAK 0x00020000 /* 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 18 /* shift for bitfield shift values */
636 636
637/* type mask (except storage) */637/* type mask (except storage) */
638#define VT_STORAGE (VT_EXTERN | VT_STATIC | VT_TYPEDEF | VT_INLINE | VT_IMPORT | VT_EXPORT | VT_WEAK)638#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