Skip to main content

type_id_symbol

Function type_id_symbol 

Source
unsafe fn type_id_symbol<T: TypedExternal>() -> SEXP
Expand description

Get the namespaced type ID symbol used in diagnostics.

Uses TYPE_ID_CSTR, which includes the module path to make mismatch messages unambiguous.

§Safety

Must be called from R’s main thread.