Expand description
Shared .Call registration for generated SEXP wrappers.
Re-exports§
use proc_macro2::TokenStream;🔒use quote::quote;🔒
Functions§
- call_
method_ 🔒def - Emit a registration with exactly the wrapper’s C arity. The caller owns cfg/doc attributes and decides whether its signature includes a call slot. The registered name is also the linker symbol used by the wasm writer.
- call_
method_ 🔒def_ value - The
R_CallMethodDefvalue ofcall_method_defalone, for a registration kept outsideMX_CALL_DEFS(a sidecar setter’s, which goes toMX_SIDECAR_SETTERSwith its type, #2292).