summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-05-15 06:28:38 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-05-15 06:28:38 -0700
commit9c8a8fd762d9c199da1fe0cf9f9f8df24e8314dc (patch)
treedd4e73ec32e0d53fe62e6716c66828064dc69813 /txr.1
parent2b9aa387aed625f2904d745662847a337c0d0e2e (diff)
downloadtxr-9c8a8fd762d9c199da1fe0cf9f9f8df24e8314dc.tar.gz
txr-9c8a8fd762d9c199da1fe0cf9f9f8df24e8314dc.tar.bz2
txr-9c8a8fd762d9c199da1fe0cf9f9f8df24e8314dc.zip
oop: new function: struct-type-name.
* struct.c (struct_init): Register struct-type-name intrinsic. (struct_type_name): New function. * struct.h (struct_type_name): Declared. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.114
1 files changed, 14 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index bec5e75b..30717b5e 100644
--- a/txr.1
+++ b/txr.1
@@ -24994,6 +24994,20 @@ A structure type is an object of type
returned by
.codn find-struct-type .
+.coNP Function @ struct-type-name
+.synb
+.mets (struct-type-name << type )
+.syne
+.desc
+The
+.code struct-type-name
+function returns the symbol which serves as the name of
+.metn type ,
+which must be either a struct type object (such as the return value of
+a successful lookup via
+.codn find-struct-type ),
+or else a struct type name.
+
.coNP Function @ super
.synb
.mets (super << type )