Skip to content

Commit

Permalink
#1298 Fix broken stop(x) function in control transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Nov 2, 2024
1 parent 5f08121 commit 651520b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/src/base/eel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ impl Vm {
root::NSEEL_addfunc_ret_type(
name.as_c_str().as_ptr(),
1,
-1,
// Return double
1,
Some(root::NSEEL_PProc_THIS),
f as *mut c_void,
&mut *self.function_table as *mut _,
Expand All @@ -73,7 +74,8 @@ impl Vm {
root::NSEEL_addfunc_ret_type(
name.as_c_str().as_ptr(),
1,
1,
// Return void or bool
-1,
Some(root::NSEEL_PProc_THIS),
f as *mut c_void,
&mut *self.function_table as *mut _,
Expand Down

0 comments on commit 651520b

Please sign in to comment.