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

Function fire_py_start

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

Source from the content-addressed store, hash-verified

809// Public dispatch functions (called from frame.rs)
810
811pub fn fire_py_start(vm: &VirtualMachine, code: &PyRef<PyCode>, offset: u32) -> PyResult<()> {
812 fire(
813 vm,
814 EVENT_PY_START,
815 code,
816 offset,
817 &[vm.ctx.new_int(offset).into()],
818 )
819}
820
821pub fn fire_py_resume(vm: &VirtualMachine, code: &PyRef<PyCode>, offset: u32) -> PyResult<()> {
822 fire(

Callers 1

execute_instrumentedMethod · 0.85

Calls 2

fireFunction · 0.85
new_intMethod · 0.45

Tested by

no test coverage detected