Add Error to os2.set_env

This commit is contained in:
gingerBill committed 2025-02-28 13:52:51 +00:00
1 parent b3bbb00f1a
commit 79944056b9
5 files changed
+32 -43

No files matched your search

+2 -2
View File
@@ -22,8 +22,8 @@ lookup_env :: proc(key: string, allocator: runtime.Allocator) -> (value: string,
}
// set_env sets the value of the environment variable named by the key
// Returns true on success, false on failure
set_env :: proc(key, value: string) -> bool {
// Returns Error on failure
set_env :: proc(key, value: string) -> Error {
return _set_env(key, value)
}