We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a33fb5c commit 96fb948Copy full SHA for 96fb948
src/rvalue.rs
@@ -103,7 +103,7 @@ impl<'ctx> RValue<'ctx> {
103
104
/// Sets the location of this RValue.
105
#[cfg(feature="master")]
106
- pub unsafe fn set_location(&self, loc: Location) {
+ pub fn set_location(&self, loc: Location) {
107
unsafe {
108
let loc_ptr = location::get_ptr(&loc);
109
gccjit_sys::gcc_jit_rvalue_set_location(self.ptr, loc_ptr);
0 commit comments