Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
fix: make some fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
lm98 committed Oct 16, 2023
1 parent 6f3f4b4 commit b9447a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/core/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ pub mod context {
#[derive(Debug, Clone)]
pub struct Context {
pub(crate) self_id: i32,
pub(crate) local_sensor: HashMap<SensorId, Rc<Box<dyn Any>>>,
pub(crate) nbr_sensor: HashMap<SensorId, HashMap<i32, Rc<Box<dyn Any>>>>,
pub(crate) exports: HashMap<i32, Export>,
pub local_sensor: HashMap<SensorId, Rc<Box<dyn Any>>>,
pub nbr_sensor: HashMap<SensorId, HashMap<i32, Rc<Box<dyn Any>>>>,
pub exports: HashMap<i32, Export>,
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/core/vm/round_vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ pub mod round_vm {
/// * `export_stack` - The stack of exports of the current round.
#[derive(Debug, Clone)]
pub struct RoundVM {
pub(crate) context: Context,
pub context: Context,
pub(crate) status: VMStatus,
pub(crate) export_stack: Vec<Export>,
pub export_stack: Vec<Export>,
pub(crate) isolated: bool,
}
}
Expand Down

0 comments on commit b9447a0

Please sign in to comment.