Skip to main content

nf_show_view

Function nf_show_view 

Source
#[unsafe(no_mangle)]
pub(crate) unsafe extern "C" fn nf_show_view( sink: *mut Sink<'_>, view: u32, ) -> *mut Slot
Expand description

Shows view view’s body with a new frame of its locals, all empty, and returns them for compiled code to fill in with the arguments. They stay valid until the expansion returns.

§Safety

sink is the sink the runtime passed into the compiled code calling.

§Panics

When there is no view view, which only wrongly compiled code asks for.