mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-19 05:29:46 +08:00
- Add a strict versioned manifest and direct C ABI lowering for both backends. - Link declared native inputs through the CLI and compiler APIs with precise diagnostics. - Cover the ABI under plain and sanitized integration tests and document its contracts.
17 lines
904 B
JSON
17 lines
904 B
JSON
{
|
|
"ffi_format": 1,
|
|
"functions": [
|
|
{ "name": "nativeScale", "symbol": "sf_scale", "params": ["f64"], "returns": "f64" },
|
|
{ "name": "nativeInvert", "symbol": "sf_invert", "params": ["bool"], "returns": "bool" },
|
|
{ "name": "nativeU8", "symbol": "sf_u8", "params": ["u8"], "returns": "u8" },
|
|
{ "name": "nativeU32", "symbol": "sf_u32", "params": ["u32"], "returns": "u32" },
|
|
{ "name": "nativeI32", "symbol": "sf_i32", "params": ["i32"], "returns": "i32" },
|
|
{ "name": "nativeTextSum", "symbol": "sf_text_sum", "params": ["string"], "returns": "f64" },
|
|
{ "name": "nativeBytesSum", "symbol": "sf_bytes_sum", "params": ["bytes"], "returns": "f64" },
|
|
{ "name": "nativeNote", "symbol": "sf_note", "params": ["f64"], "returns": "void" },
|
|
{ "name": "nativeLastNote", "symbol": "sf_last_note", "params": [], "returns": "f64" }
|
|
],
|
|
"libraries": [],
|
|
"system_libraries": []
|
|
}
|