fn interp_set_generic(
args: &[RValue],
named: &[(String, RValue)],
context: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Define an S4 generic function.
Registers the generic in the per-interpreter S4 generic registry and creates a dispatching function binding in the calling environment.
@param name character string naming the generic @param def default function definition @return the generic name (invisibly)