(
vm: &VirtualMachine,
code: &PyRef<PyCode>,
offset: u32,
retval: &PyObjectRef,
)
| 844 | } |
| 845 | |
| 846 | pub fn fire_py_yield( |
| 847 | vm: &VirtualMachine, |
| 848 | code: &PyRef<PyCode>, |
| 849 | offset: u32, |
| 850 | retval: &PyObjectRef, |
| 851 | ) -> PyResult<()> { |
| 852 | fire( |
| 853 | vm, |
| 854 | EVENT_PY_YIELD, |
| 855 | code, |
| 856 | offset, |
| 857 | &[vm.ctx.new_int(offset).into(), retval.clone()], |
| 858 | ) |
| 859 | } |
| 860 | |
| 861 | pub fn fire_call( |
| 862 | vm: &VirtualMachine, |
no test coverage detected