diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-03 17:16:51 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-03 17:16:51 -0700 |
commit | f55a50575bfe83ad320612833811640e5d8f8f12 (patch) | |
tree | 31db049b207ee494a01d0ab2fe66a86ba5366e34 /struct.h | |
parent | 38a2d429dfdc271ded13b3e446d75285fc875511 (diff) | |
download | txr-f55a50575bfe83ad320612833811640e5d8f8f12.tar.gz txr-f55a50575bfe83ad320612833811640e5d8f8f12.tar.bz2 txr-f55a50575bfe83ad320612833811640e5d8f8f12.zip |
New umeth and umethod macro and function.
* share/txr/stdlib/struct.tl (umeth): New macro.
* struct.c (struct_init): Registered umethod intrinsic.
(umethod_fun): New static function.
(umethod): New function.
* txr.1: Documented.
Diffstat (limited to 'struct.h')
-rw-r--r-- | struct.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,4 +43,5 @@ val structp(val obj); val struct_type(val strct); val method(val strct, val slotsym); val super_method(val strct, val slotsym); +val umethod(val slot); void struct_init(void); |