diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-18 05:39:48 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-18 05:39:48 -0700 |
commit | b25e08a3328ffa4bf29a8a8651973d88ae79b90c (patch) | |
tree | 859aba874523d6e0598198ff285337e2c813b8b7 /struct.h | |
parent | 8656383c44f2080e59c526ff3b7fb7ac4c2301a9 (diff) | |
download | txr-b25e08a3328ffa4bf29a8a8651973d88ae79b90c.tar.gz txr-b25e08a3328ffa4bf29a8a8651973d88ae79b90c.tar.bz2 txr-b25e08a3328ffa4bf29a8a8651973d88ae79b90c.zip |
New function to access slot list of struct type.
* struct.c (slots): New function.
* struct.h (slots): Declared.
Diffstat (limited to 'struct.h')
-rw-r--r-- | struct.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ val static_slot_set(val stype, val sym, val newval); val static_slot_ensure(val stype, val sym, val newval, val no_error_p); val slotp(val type, val sym); val static_slot_p(val type, val sym); +val slots(val stype); val structp(val obj); val struct_type(val strct); val method(val strct, val slotsym); |