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

vlib: fix mutable args

This commit is contained in:
joe-conigliaro
2019-08-07 17:53:33 +10:00
committed by Alexander Medvednikov
parent 34e0b164eb
commit 0bcc53c366
13 changed files with 54 additions and 54 deletions

View File

@ -250,7 +250,7 @@ pub fn identity() Mat4 {
}
// returns *f32 without allocation
pub fn identity2(res *f32) {
pub fn identity2(res mut *f32) {
res[0] = 1
res[5] = 1
res[10] = 1