forked from AbleOS/ableos
12 lines
229 B
Rust
12 lines
229 B
Rust
|
use alloc::vec;
|
||
|
use alloc::vec::Vec;
|
||
|
|
||
|
use spin::{Lazy, Mutex};
|
||
|
|
||
|
pub type HostObjects = Vec<Option<xml::XMLElement>>;
|
||
|
|
||
|
pub const OBJECTS: Lazy<Mutex<HostObjects>> = Lazy::new(|| {
|
||
|
let mut obj = vec![];
|
||
|
Mutex::new(obj)
|
||
|
});
|