mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
stub out get_env for js
This commit is contained in:
@@ -252,4 +252,9 @@ current_thread_id :: proc "contextless" () -> int {
|
||||
|
||||
lookup_env :: proc(key: string, allocator := context.allocator) -> (value: string, found: bool) {
|
||||
return "", false
|
||||
}
|
||||
|
||||
get_env :: proc(key: string, allocator := context.allocator) -> string {
|
||||
value, _ := lookup_env(key, allocator)
|
||||
return value
|
||||
}
|
||||
Reference in New Issue
Block a user