mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
fixed size array with const length ([N]int
)
This commit is contained in:
parent
be323e2fb6
commit
aed22a57e3
5 changed files with 17 additions and 9 deletions
|
@ -316,6 +316,7 @@ pub fn (v mut V) compile() {
|
|||
}
|
||||
// All definitions
|
||||
mut def := strings.new_builder(10000)// Avoid unnecessary allocations
|
||||
def.writeln(cgen.const_defines.join_lines())
|
||||
$if !js {
|
||||
def.writeln(cgen.includes.join_lines())
|
||||
def.writeln(cgen.typedefs.join_lines())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue