summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-03 17:16:51 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-03 17:16:51 -0700
commitf55a50575bfe83ad320612833811640e5d8f8f12 (patch)
tree31db049b207ee494a01d0ab2fe66a86ba5366e34 /struct.h
parent38a2d429dfdc271ded13b3e446d75285fc875511 (diff)
downloadtxr-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/struct.h b/struct.h
index 7e4009c3..612c47db 100644
--- a/struct.h
+++ b/struct.h
@@ -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);