From 5ae1f55200741dd0089f603d07777a1b9faf4690 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 20 Apr 2019 19:32:26 -0700 Subject: unwind: use allocate-struct in frame reification. * struct.c (allocate_struct): Changed from internal to external linkage. * struct.h (allocate_struct): Declared. * unwind.c (uw_get_frames, uw_find_frames_by_mask): Use allocate_struct instead of make_struct. --- struct.h | 1 + 1 file changed, 1 insertion(+) (limited to 'struct.h') diff --git a/struct.h b/struct.h index a7be3123..857bce92 100644 --- a/struct.h +++ b/struct.h @@ -44,6 +44,7 @@ val struct_from_plist(val type, struct args *plist); val struct_from_args(val type, struct args *boa); val make_lazy_struct(val type, val argfun); val make_struct_lit(val type, val plist); +val allocate_struct(val type); val copy_struct(val strct); val clear_struct(val strct, val value); val replace_struct(val target, val source); -- cgit v1.2.3