1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

make all necessary structs public

This commit is contained in:
Alexander Medvednikov
2019-10-24 12:47:21 +03:00
parent dce3275df4
commit 4a88a28a3b
9 changed files with 34 additions and 26 deletions

View File

@ -180,7 +180,7 @@ for (int i = 0; i < ${qprefix}rows.len; i++) {
} else if query_one {
opt_type := 'Option_$table_name'
p.cgen.typedefs << 'typedef Option $opt_type;'
p.table.register_type( opt_type )
p.table.register_builtin( opt_type )
return opt_type
} else {
p.register_array('array_$table_name')