This commit is contained in:
Folkert 2023-01-13 20:42:23 +01:00
parent b412765972
commit ee99ae2372
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 176 additions and 126 deletions

View file

@ -102,11 +102,11 @@ pub struct RocFunction_65 {
impl RocFunction_65 {
pub fn force_thunk(self, ) -> Op {
extern "C" {
fn roc__mainForHost_1__Fx2_caller(output: *mut Op, );
fn roc__getter__5(output: *mut Op, );
}
let mut output = std::mem::MaybeUninit::uninit();
unsafe { roc__mainForHost_1__Fx2_caller(output.as_mut_ptr(), ) };
unsafe { roc__getter__5(output.as_mut_ptr(), ) };
unsafe { output.assume_init() }
}
}
@ -127,11 +127,11 @@ pub struct RocFunction_67 {
impl RocFunction_67 {
pub fn force_thunk(self, ) -> Op {
extern "C" {
fn roc__mainForHost_1__Fx2_caller(output: *mut Op, );
fn roc__getter__5(output: *mut Op, );
}
let mut output = std::mem::MaybeUninit::uninit();
unsafe { roc__mainForHost_1__Fx2_caller(output.as_mut_ptr(), ) };
unsafe { roc__getter__5(output.as_mut_ptr(), ) };
unsafe { output.assume_init() }
}
}