Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/vgenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ class VOutputGenerator(OutputGenerator):
'u16',
'u16',
'int',
'i32',
'u32',
'i64',
'u64',
Expand Down Expand Up @@ -263,6 +264,8 @@ class VOutputGenerator(OutputGenerator):

TYPE_MAP = {
'size_t': 'usize',
# C int has a fixed 32-bit ABI here; V3's int is 64-bit on 64-bit hosts.
'int': 'i32',
'void*': 'voidptr',
'&void': 'voidptr',
'void**': '&voidptr',
Expand Down
Loading