forked from Orchid/orchid
New macro system and stdlib additions
This commit is contained in:
@@ -18,7 +18,7 @@ pub struct CtxData {
|
||||
pub spawn: Spawner,
|
||||
pub systems: RwLock<HashMap<api::SysId, WeakSystem>>,
|
||||
pub system_id: RefCell<NonZeroU16>,
|
||||
pub common_exprs: ExprStore,
|
||||
pub exprs: ExprStore,
|
||||
pub root: RwLock<WeakRoot>,
|
||||
}
|
||||
#[derive(Clone)]
|
||||
@@ -43,7 +43,7 @@ impl Ctx {
|
||||
i: Interner::default(),
|
||||
systems: RwLock::default(),
|
||||
system_id: RefCell::new(NonZero::new(1).unwrap()),
|
||||
common_exprs: ExprStore::default(),
|
||||
exprs: ExprStore::default(),
|
||||
root: RwLock::default(),
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user