packaging stuff

This commit is contained in:
Sebastian Moser
2024-11-27 21:16:19 +01:00
parent 58e5fc9daf
commit 23721f306f
5 changed files with 37 additions and 26 deletions

View File

@@ -16,11 +16,11 @@ pub struct EmptyModule {
}
impl Module for EmptyModule {
fn init(&mut self, instance: Instance) -> MizeResult<()> {
fn init(&mut self, instance: &Instance) -> MizeResult<()> {
println!("empty module fn init");
Ok(())
}
fn exit(&mut self, instance: Instance) -> MizeResult<()> {
fn exit(&mut self, instance: &Instance) -> MizeResult<()> {
println!("empty module fn exit");
Ok(())