cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+3 -1
View File
@@ -17,4 +17,6 @@ native-only internal API. `unit_load()` returns a process-local `SharedUnit*`, w
Use unit-facing APIs such as `unit_info()`, `unit_compile()`, `unit_call()`, `unit_render()`, or component helpers instead.
:example
print("unit_load example\n");
// unit_load() is a native/internal loader; from a unit, use unit_compile()
// to make sure a unit is built, then unit_call()/unit_render() to invoke it.
print(unit_compile("examples/sample_unit.uce") ? "sample unit is loaded and ready" : "load failed", "\n");