Deprecate strings.write_quoted_* in favour of io.write_quoted_*; make reflect.write_type a little more robust with io.Error handling
This commit is contained in:
1 parent
4acb4c4ee2
commit
94a27224b2
5 files changed
+156
-137
No files matched your search
@@ -305,7 +305,7 @@ foreign libc {
|
||||
@(link_name="chdir") _unix_chdir :: proc(buf: cstring) -> c.int ---
|
||||
@(link_name="realpath") _unix_realpath :: proc(path: cstring, resolved_path: rawptr) -> rawptr ---
|
||||
|
||||
@(link_name="exit") _unix_exit :: proc(status: int) -> ! ---
|
||||
@(link_name="exit") _unix_exit :: proc(status: c.int) -> ! ---
|
||||
}
|
||||
|
||||
foreign dl {
|
||||
@@ -571,7 +571,7 @@ set_current_directory :: proc(path: string) -> (err: Errno) {
|
||||
}
|
||||
|
||||
exit :: proc "contextless" (code: int) -> ! {
|
||||
_unix_exit(code)
|
||||
_unix_exit(i32(code))
|
||||
}
|
||||
|
||||
current_thread_id :: proc "contextless" () -> int {
|
||||
|
||||
Reference in new issue
Block a user