Skip to main content

Module call_method_def

Module call_method_def 

Source
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_CallMethodDef value of call_method_def alone, for a registration kept outside MX_CALL_DEFS (a sidecar setter’s, which goes to MX_SIDECAR_SETTERS with its type, #2292).