![]() |
Fun 0.41.5
The programming language that makes you have fun!
|
Implements the OP_RUST_SET_EXIT opcode (conditional build). More...
Go to the source code of this file.
Functions | |
| push_value (vm, make_nil()) | |
Variables | |
| case | OP_RUST_SET_EXIT |
| int | rc = fun_op_rset_exit(vm) |
| break | |
Implements the OP_RUST_SET_EXIT opcode (conditional build).
Pops an integer exit code and delegates to a Rust helper to store it into vm.exit_code. Pushes Nil afterwards. When Rust support is disabled, the argument is still popped/freed, a runtime error is raised, and Nil is pushed to maintain stack discipline.
OP_RUST_SET_EXIT: (code:int) -> Nil
Behavior (FUN_WITH_RUST=ON):
Behavior (FUN_WITH_RUST=OFF):
Definition in file set_exit.c.
| push_value | ( | vm | , |
| make_nil() | ) |
| break |
Definition at line 48 of file set_exit.c.
| case OP_RUST_SET_EXIT |
Definition at line 32 of file set_exit.c.
| void rc = fun_op_rset_exit(vm) |
Definition at line 37 of file set_exit.c.