Skip to content

Commit

Permalink
Fix docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
azteca1998 committed Dec 19, 2023
1 parent bb3348c commit 9bbaf40
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions melior/src/execution_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ impl ExecutionEngine {
}

/// Searches a symbol in a module and returns a pointer to it.
///
/// # Safety
///
/// This function modifies memory locations pointed by the `arguments`
/// argument. If those pointers are invalid or misaligned, calling this
/// function might result in undefined behavior.
pub fn lookup(&self, name: &str) -> *mut () {
unsafe { mlirExecutionEngineLookup(self.raw, StringRef::new(name).to_raw()) as *mut () }
}
Expand Down

0 comments on commit 9bbaf40

Please sign in to comment.