Merge branch 'master' into slice_scanner

This commit is contained in:
Andrea Piseri
2021-12-28 16:12:15 +01:00
17 changed files with 233 additions and 1412 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ get_ptr :: proc(array: $T/[]$E, index: int) -> (value: ^E, ok: bool) {
return
}
as_ptr :: proc(array: $T/[]$E) -> ^E {
as_ptr :: proc(array: $T/[]$E) -> [^]E {
return raw_data(array)
}