diff options
| author | Dragos Popescu <dragos.andreip@yahoo.com> | 2023-03-20 21:57:51 +0100 |
|---|---|---|
| committer | Dragos Popescu <dragos.andreip@yahoo.com> | 2023-03-20 21:57:51 +0100 |
| commit | 951511704dda5532ceaac228ca44eeffe6016a3f (patch) | |
| tree | 5f3b4e04641ee486406c3946fa60caf999c924b9 /core/dynlib | |
| parent | 23aae6ab0f6f01ecc3348b18166a696f614b2c38 (diff) | |
Responded to PR review. Made dynlib return false on js instead of panic
Diffstat (limited to 'core/dynlib')
| -rw-r--r-- | core/dynlib/lib_js.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/dynlib/lib_js.odin b/core/dynlib/lib_js.odin index 1250833ec..37dab8758 100644 --- a/core/dynlib/lib_js.odin +++ b/core/dynlib/lib_js.odin @@ -3,13 +3,13 @@ package dynlib _load_library :: proc(path: string, global_symbols := false) -> (Library, bool) { - panic("core:dynlib not supported by JS target") + return } _unload_library :: proc(library: Library) -> bool { - panic("core:dynlib not supported by JS target") + return } _symbol_address :: proc(library: Library, symbol: string) -> (ptr: rawptr, found: bool) { - panic("core:dynlib not supported by JS target") + return } |