diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-03-12 12:27:57 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-03-12 12:27:57 -0700 |
commit | 6b7c80ff724f4f8baec2fc0984c6178f75fd9bcd (patch) | |
tree | 7d27494d2058e68d5a727387e810fbdd78a9237d /struct.h | |
parent | 7809492815eb35df33e52aae72e03ce10349def5 (diff) | |
download | txr-6b7c80ff724f4f8baec2fc0984c6178f75fd9bcd.tar.gz txr-6b7c80ff724f4f8baec2fc0984c6178f75fd9bcd.tar.bz2 txr-6b7c80ff724f4f8baec2fc0984c6178f75fd9bcd.zip |
New: struct-from-plist and struct-from-args.
* struct.c (struct_init): Register new functions.
(struct_from_plist, struct_from_args): New functions.
* struct.h (struct_from_plist, struct_from_args): Declared.
* txr.1: Documented.
Diffstat (limited to 'struct.h')
-rw-r--r-- | struct.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,6 +33,8 @@ val make_struct_type(val name, val super, val struct_type_p(val obj); val super(val type); val make_struct(val type, val plist, struct args *); +val struct_from_plist(val type, struct args *plist); +val struct_from_args(val type, struct args *boa); val make_lazy_struct(val type, val argfun); val make_struct_lit(val type, val plist); val copy_struct(val strct); |