(flags: u32)
| 124 | /// Set the debugging flags. |
| 125 | #[pyfunction] |
| 126 | fn set_debug(flags: u32) { |
| 127 | gc_state::gc_state().set_debug(gc_state::GcDebugFlags::from_bits_truncate(flags)); |
| 128 | } |
| 129 | |
| 130 | /// Return a list of per-generation gc stats. |
| 131 | #[pyfunction] |