load_library
result = load_library(path)
Input: path · Output: result
What it is
Loads a native shared library (.dll on Windows, .so on Linux, .dylib on macOS) so its C functions can be called with native_call. Loading runs the library's own initialisation code, and the library stays loaded until the process exits. Refused under qu run --sandbox.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = load_library(path) | path —not documented yet | result — | Returns a library handle. Added in v0.4.3. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.