Module interoptopus::lang
source · Expand description
Abstractions for authors of backends.
A a rule of thumb, types in the rust
module generate instances
of types in the c
module.
Normal users of Interoptopus probably won’t have to concern
themselves with any of the items in this module.
A notable exception to this rule is having to manually implement
a CType
surrogate for un-owned types. See the
surrogates section in ffi_type
.
Modules§
- Canonical, almost-C representation of items in an FFI boundary.
- Helpers to introspect Rust code when generating bindings, mostly derived by the
#[ffi_...]
macros.