Skip to main content

current_interp

Function current_interp 

Source
pub fn current_interp() -> Option<&'static mut Interp<'static>>
Expand description

The interpreter of the C code currently running.

None outside a callback: a C module must not call the API from its own thread with no call in progress, and the reference would have no ctx to pass either.