summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-06 21:32:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-06 21:32:34 -0700
commit8720843f7a55991fb52ca1de7be2dab341ae7517 (patch)
tree66020514008dcfbcd328a02913a3a34edbed00c9 /struct.h
parent8beabcd33ac984ee454f0871ffd45b940e279732 (diff)
downloadtxr-8720843f7a55991fb52ca1de7be2dab341ae7517.tar.gz
txr-8720843f7a55991fb52ca1de7be2dab341ae7517.tar.bz2
txr-8720843f7a55991fb52ca1de7be2dab341ae7517.zip
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.
Diffstat (limited to 'struct.h')
-rw-r--r--struct.h1
1 files changed, 1 insertions, 0 deletions
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);