all: re-apply C++ support

This commit is contained in:
Uwe Krüger 2020-05-18 21:38:06 +02:00 committed by GitHub
parent 895cefe351
commit 2635be511f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 261 additions and 150 deletions

View file

@ -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
}
}