Skip to main content

luaur_analysis/records/
serialized_function_scope.rs

1use crate::records::type_function_function_type::TypeFunctionFunctionType;
2
3#[derive(Debug, Clone)]
4pub struct SerializedFunctionScope {
5    pub(crate) old_queue_size: usize,
6    pub(crate) function: *mut TypeFunctionFunctionType,
7}
8
9impl Default for SerializedFunctionScope {
10    fn default() -> Self {
11        Self {
12            old_queue_size: 0,
13            function: core::ptr::null_mut(),
14        }
15    }
16}