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

gc: extend optimized mode to strings (#10431)

This commit is contained in:
Uwe Krüger
2021-06-12 10:27:08 +02:00
committed by GitHub
parent e02d1d4a4b
commit 652e7ba973
3 changed files with 94 additions and 15 deletions

View File

@@ -0,0 +1,10 @@
// dummy placeholder for functions from `array_d_gcboehm_opt.v`
// that might be needed for compile time
// `$if gcboehm_opt ? { ... } $else { ... }`
module builtin
// this is needed in `string.v`
fn __new_array_noscan(mylen int, cap int, elm_size int) array {
return array{}
}