Expand description
Borrowed view-models the ABI templates render: the Core ABI, the runtime ABI, the word tables,
and the golden XXH64 vectors. No owned intermediate spec: every name, type, and doc string
is a &'a str into the nativeview-abi descriptors.
Structs§
- AbiModel
- The Core ABI (
nv_abi.generated.h): app-module vtables, values, events, and the word-table view every scene reader indexes. - Hash
Vector - One golden XXH64 vector: every host suite hashes
byteswithseedand expectsexpected. - HexLiteral
- An upper-case
0x...literal of fixed width, written straight into the template output. - Module
AbiModel - Standalone capability-module C ABI descriptor (
nv_<stem>_abi.generated.h), validated with the same cross-data-model layout engine asAbiModelandRuntimeAbiModel. - Runtime
AbiModel - The embedding-host runtime ABI (
nv_runtime_abi.generated.h), rendered on top of the Core header it includes: its records must not redeclare any record ofbase. - U64Split
- A 64-bit value with its
(lo, hi)u32halves: Dart / TypeScript spell only the halves, so no integer literal above 2^53 ever reaches a JavaScript number.
Constants§
- NO_
ALIASES - Empty alias slice for Askama templates that need an explicitly typed
&[AbiAliasDescriptor].
Functions§
- bare_
enum_ prefix c_enum_prefixwithout theNV_namespace (NV_VAL_->VAL_).- c_
enum_ prefix - C constant prefix of an enum’s variants (
c_prefix, elseSCREAMING_NAME_). - hash_
vectors - The golden vectors: every tail length branch, multi-stripe input, non-ASCII UTF-8, the official Cyan4973 sanity buffer, and seeds with the high bit set.
- interface_
id - Interface ID integer of a modular vtable.
- is_
dart_ fallback truefor the variant Dart’sfromCodemaps every unknown code to.- max_len
- Longest vector input in bytes (C suites size their scratch buffers with it).
- module_
name - Module name of a modular vtable (
module_name, falling back toname).