MCPcopy Index your code
hub / github.com/RustPython/RustPython / fire_c_raise

Function fire_c_raise

crates/vm/src/stdlib/sys/monitoring.rs:893–907  ·  view source on GitHub ↗
(
    vm: &VirtualMachine,
    code: &PyRef<PyCode>,
    offset: u32,
    callable: &PyObjectRef,
    arg0: PyObjectRef,
)

Source from the content-addressed store, hash-verified

891}
892
893pub fn fire_c_raise(
894 vm: &VirtualMachine,
895 code: &PyRef<PyCode>,
896 offset: u32,
897 callable: &PyObjectRef,
898 arg0: PyObjectRef,
899) -> PyResult<()> {
900 fire(
901 vm,
902 EVENT_C_RAISE,
903 code,
904 offset,
905 &[vm.ctx.new_int(offset).into(), callable.clone(), arg0],
906 )
907}
908
909pub fn fire_line(
910 vm: &VirtualMachine,

Callers 2

execute_instrumentedMethod · 0.85

Calls 3

fireFunction · 0.85
new_intMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected