From ba623c7a3a5b450b9b492de50efceea93df96039 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 10 Nov 2025 23:47:10 +0100 Subject: Add if and else operators --- private_include/nw/routines.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'private_include') 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 -- cgit v1.2.3