Expand description
Experimental C ABI surface for embedding Silicera-runtime in C/C++ hosts.
Enabled with feature c-abi. All unsafe is isolated here. Rust callers
should prefer the safe Dispatcher API.
§Symbols
| Symbol | Role |
|---|---|
silicera_init | Process/library init (idempotent) |
silicera_profile_load | Load .hnep into an opaque handle |
silicera_variant_select | Size → variant name (NUL-terminated into caller buffer) |
silicera_profile_free | Release handle |
Status codes: 0 ok, negative = error (-1 null, -2 I/O/parse, -3 buffer).
Structs§
- Silicera
Profile - Opaque profile handle for C callers.
Functions§
- silicera_
init - Initialize the Silicera C ABI (idempotent). Returns
0. - silicera_
profile_ ⚠free - Free a profile handle from
silicera_profile_load. - silicera_
profile_ ⚠load - Load an HNEP profile from a UTF-8 path.
- silicera_
variant_ ⚠select - Select a variant name for
size_bytesintobuf(NUL-terminated).