From b25e08a3328ffa4bf29a8a8651973d88ae79b90c Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 18 Oct 2016 05:39:48 -0700 Subject: New function to access slot list of struct type. * struct.c (slots): New function. * struct.h (slots): Declared. --- struct.h | 1 + 1 file changed, 1 insertion(+) (limited to 'struct.h') diff --git a/struct.h b/struct.h index 2e3d32cb..384c4755 100644 --- a/struct.h +++ b/struct.h @@ -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); -- cgit v1.2.3