mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
all: re-apply C++ support
This commit is contained in:
parent
895cefe351
commit
2635be511f
33 changed files with 261 additions and 150 deletions
|
@ -16,6 +16,8 @@ pub fn new_builder(initial_size int) Builder {
|
|||
return Builder{
|
||||
//buf: make(0, initial_size)
|
||||
buf: []byte{cap: initial_size}
|
||||
str_calls: 0
|
||||
len: 0
|
||||
initial_size: initial_size
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue