17 lines
498 B
Plaintext
17 lines
498 B
Plaintext
:sig
|
|
SharedUnit* unit_load(String file_name)
|
|
|
|
:params
|
|
file_name : unit source path
|
|
return value : native SharedUnit pointer (native runtime internals only)
|
|
|
|
:see
|
|
>unit_compile
|
|
>unit_info
|
|
>unit_call
|
|
|
|
:content
|
|
native-only internal API. `unit_load()` returns a process-local `SharedUnit*`, which is not a valid value across the wasm membrane and is not exposed to wasm units.
|
|
|
|
Use unit-facing APIs such as `unit_info()`, `unit_compile()`, `unit_call()`, `unit_render()`, or component helpers instead.
|