Skip to main content

upcast_function

Function upcast_function 

Source
pub fn upcast_function(child_struct: &str, parent_struct: &str) -> String
Expand description

Symbol name of the wasm export that upcasts a *const WasmRefCell<Child> pointer to a cloned Rc<WasmRefCell<Parent>> raw pointer. Used by the macro codegen and by cli-support’s JS emission to call each other.