From 8720843f7a55991fb52ca1de7be2dab341ae7517 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 6 Oct 2015 21:32:34 -0700 Subject: New function: reset-struct. * struct.c (reset_struct): New function. (struct_init): Register reset_struct intrinsic. * struct.h (reset_struct): Declared. * txr.1: documented reset-struct. --- struct.h | 1 + 1 file changed, 1 insertion(+) (limited to 'struct.h') diff --git a/struct.h b/struct.h index dff375eb..52a62fa8 100644 --- a/struct.h +++ b/struct.h @@ -34,6 +34,7 @@ val make_struct(val type, val plist, struct args *); val copy_struct(val strct); val clear_struct(val strct, val value); val replace_struct(val target, val source); +val reset_struct(val strct); val find_struct_type(val sym); val slot(val strct, val sym); val slotset(val strct, val sym, val newval); -- cgit v1.2.3