Expand description
C11 & C++20 target emitter for NV Hybrid FFI codegen.
Emits two clean, binary FFI headers:
<Stem>HybridAbi.generated.h: pure C11 header includingnv_abi.generated.h, declaringNV_HYBRID_<NAME>_INTERFACE_ID,NV_HYBRID_<NAME>_SCHEMA_HASH,#[repr(C)]POD structs/enums,NvHybridOwnedBytes, PODNvHybridOpt*, andNvHybrid<Name>VTable.<Stem>HybridSpec.generated.hpp: C++20namespace nv::hybridwithenum class, native structs withNvBinValueencode_bin/decode_binover the staticnv::host_cxxruntime (packages/core/host-cxx), Nitro-style abstractclass Hybrid<Name>Spec, and RAIIclass <Name>Clientresolvingnv_get_interface+ checkingschema_hashon construction.
Functionsยง
- generate_
hybrid_ cpp - Emits
<Stem>HybridAbi.generated.h(pure C11 ABI),<Stem>HybridSpec.generated.hpp(C++20), and<Stem>HybridWire.generated.h(pure C11 positional wire codec & direct host helpers).