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

all: atomic int fixes

This commit is contained in:
Alexander Medvednikov
2022-04-27 18:31:21 +03:00
parent 82ac39eca6
commit 7dbfa86f25
5 changed files with 39 additions and 3 deletions

View File

@@ -578,3 +578,8 @@ pub fn (b u8) repeat(count int) string {
}
return unsafe { ret.vstring_with_len(new_len) }
}
// for atomic ints, internal
fn _Atomic__int_str(x int) string {
return x.str()
}