luaur_repl_cli/records/
counters.rs1use core::ffi::c_void;
2
3use crate::records::module_counters::ModuleCounters;
4
5#[derive(Debug, Clone)]
6pub struct Counters {
7 pub(crate) l: *mut c_void,
8 pub(crate) module_refs: alloc::vec::Vec<i32>,
9 pub(crate) module_counters: alloc::vec::Vec<ModuleCounters>,
10}
11
12impl Default for Counters {
13 fn default() -> Self {
14 Self {
15 l: core::ptr::null_mut(),
16 module_refs: alloc::vec::Vec::new(),
17 module_counters: alloc::vec::Vec::new(),
18 }
19 }
20}