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

checker: deprecate using V strings in C function calls (#10140)

This commit is contained in:
Enzo
2021-05-20 08:17:44 +02:00
committed by GitHub
parent b0de1f76e8
commit 906b207e58
13 changed files with 27 additions and 25 deletions

View File

@ -116,7 +116,7 @@ fn (a Vec3) print() {
x := a.x
y := a.y
z := a.z
C.printf('vec3{%f,%f,%f}\n', x, y, z)
C.printf(c'vec3{%f,%f,%f}\n', x, y, z)
// println('vec3{$x,$y,$z}')
}