diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-06 21:32:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-06 21:32:34 -0700 |
commit | 8720843f7a55991fb52ca1de7be2dab341ae7517 (patch) | |
tree | 66020514008dcfbcd328a02913a3a34edbed00c9 /struct.h | |
parent | 8beabcd33ac984ee454f0871ffd45b940e279732 (diff) | |
download | txr-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |