Skip to main content

Module legacy_c

Module legacy_c 

Source
Expand description

Legacy types using extern "C" ABI instead of extern "C-unwind".

These are kept for compatibility testing. The main codebase uses extern "C-unwind" everywhere to properly propagate Rust panics.

Structsยง

R_CallMethodDef_C
Legacy .Call registration descriptor using extern "C" ABI.

Functionsยง

R_ExternalPtrAddrFn_C ๐Ÿ”’ โš 
Extract function pointer from external pointer.
R_MakeExternalPtrFn_C ๐Ÿ”’ โš 
Create function external pointer (R_MakeExternalPtrFn).
R_RegisterCFinalizerEx_C ๐Ÿ”’ โš 
Register a C finalizer callback with onexit behavior.
R_RegisterCFinalizer_C ๐Ÿ”’ โš 
Register a C finalizer callback.
R_registerRoutines_C ๐Ÿ”’ โš 
Register native routines using legacy ABI types.

Type Aliasesยง

DL_FUNC_C
Legacy generic function pointer type.
R_CFinalizer_t_C
Legacy C finalizer callback type.