Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
FlannyH committed May 3, 2024
1 parent 932b3bb commit 325e9b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ impl IRCompilerFactory {
pub fn create_compiler(&self) -> IRCompiler {
let compiler = unsafe { self.funcs.IRCompilerCreate() };
IRCompiler {
funcs: self.funcs.clone(),
me: compiler,
funcs: self.funcs.clone(),
}
}
}
Expand Down Expand Up @@ -362,8 +362,8 @@ impl IRCompiler {

if error.is_null() {
Ok(IRObject {
funcs: input.funcs.clone(),
me: v,
funcs: input.funcs.clone(),
})
} else {
panic!("{:?}", error);
Expand Down

0 comments on commit 325e9b8

Please sign in to comment.