aboutsummaryrefslogtreecommitdiff
path: root/private_include
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-11-10 23:47:10 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2025-11-10 23:47:10 +0100
commitba623c7a3a5b450b9b492de50efceea93df96039 (patch)
tree92b0d70db2fb304bac604338215401e25e8c4aac /private_include
parent806824b23c28d2d81ffd588c555be82fa5a14004 (diff)
Add if and else operators
Diffstat (limited to 'private_include')
-rw-r--r--private_include/nw/routines.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/private_include/nw/routines.h b/private_include/nw/routines.h
index 974f6da..6938fc4 100644
--- a/private_include/nw/routines.h
+++ b/private_include/nw/routines.h
@@ -66,6 +66,7 @@ void nwp_arithm(struct nw_interp *i, enum nw_type t,
int (*op)(const struct nw_i_sm_arithm_out *, union nw_value *));
void nwp_unary(struct nw_interp *i, enum nw_type t,
int (*op)(const union nw_value *, union nw_value *));
-void nwp_start_block(struct nw_interp *i);
+void nwp_start_block(struct nw_interp *i, struct nw_i_sm_sb *sb,
+ enum nw_state (*next)(struct nw_interp *));
#endif