diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-05-15 06:28:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-05-15 06:28:38 -0700 |
commit | 9c8a8fd762d9c199da1fe0cf9f9f8df24e8314dc (patch) | |
tree | dd4e73ec32e0d53fe62e6716c66828064dc69813 /struct.h | |
parent | 2b9aa387aed625f2904d745662847a337c0d0e2e (diff) | |
download | txr-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 'struct.h')
-rw-r--r-- | struct.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -65,6 +65,7 @@ val static_slot_p(val type, val sym); val slots(val stype); val structp(val obj); val struct_type(val strct); +val struct_type_name(val stype); val method(val strct, val slotsym); val method_args(val strct, val slotsym, struct args *); val super_method(val strct, val slotsym); |