(
buf: &mut Vec<u8>,
obj: &PyObjectRef,
refs: &mut Option<WriterRefTable>,
version: i32,
vm: &VirtualMachine,
)
| 153 | } |
| 154 | |
| 155 | fn write_object( |
| 156 | buf: &mut Vec<u8>, |
| 157 | obj: &PyObjectRef, |
| 158 | refs: &mut Option<WriterRefTable>, |
| 159 | version: i32, |
| 160 | vm: &VirtualMachine, |
| 161 | ) -> PyResult<()> { |
| 162 | write_object_depth( |
| 163 | buf, |
| 164 | obj, |
| 165 | refs, |
| 166 | version, |
| 167 | vm, |
| 168 | marshal::MAX_MARSHAL_STACK_DEPTH, |
| 169 | ) |
| 170 | } |
| 171 | |
| 172 | fn write_object_depth( |
| 173 | buf: &mut Vec<u8>, |
no test coverage detected