mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix interfaces on msvc
This commit is contained in:
parent
cac719c078
commit
32fec2c26c
@ -410,6 +410,9 @@ fn (v &V) interface_table() string {
|
||||
// Speaker_Cat_index = 0
|
||||
sb.writeln('int _${t.name}_${gen_type}_index = $i;')
|
||||
}
|
||||
if t.methods.len == 0 {
|
||||
methods = '{TCCSKIP(0)}'
|
||||
}
|
||||
sb.writeln('void* (* ${t.name}_name_table[][$t.methods.len]) = ' +
|
||||
'{ $methods }; ')
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user