Merge branch 'master' into slice_scanner

This commit is contained in:
Andrea Piseri committed 2021-12-28 16:12:15 +01:00
commit 822da9d12d
17 files changed
+233 -1412

No files matched your search

+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)
}