cleanup, docs
This commit is contained in:
@@ -6,6 +6,7 @@ file_name : unit source path
|
||||
return value : native SharedUnit pointer (native runtime internals only)
|
||||
|
||||
:see
|
||||
>ob
|
||||
>unit_compile
|
||||
>unit_info
|
||||
>unit_call
|
||||
@@ -14,3 +15,6 @@ return value : native SharedUnit pointer (native runtime internals only)
|
||||
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.
|
||||
|
||||
:example
|
||||
print("unit_load example\n");
|
||||
|
||||
Reference in New Issue
Block a user