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:
10
vlib/builtin/array_notd_gcboehm_opt.v
Normal file
10
vlib/builtin/array_notd_gcboehm_opt.v
Normal 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{}
|
||||
}
|
||||
Reference in New Issue
Block a user