diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-04-20 19:32:26 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-04-20 19:32:26 -0700 |
commit | 5ae1f55200741dd0089f603d07777a1b9faf4690 (patch) | |
tree | f9d89c4501c3a6dd5936baa361ab70bbd01c7fc9 /struct.c | |
parent | ab1059ae34e48d37d0c5702c3bd5e3bf2afb1a20 (diff) | |
download | txr-5ae1f55200741dd0089f603d07777a1b9faf4690.tar.gz txr-5ae1f55200741dd0089f603d07777a1b9faf4690.tar.bz2 txr-5ae1f55200741dd0089f603d07777a1b9faf4690.zip |
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.
Diffstat (limited to 'struct.c')
-rw-r--r-- | struct.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -114,7 +114,6 @@ static val make_struct_type_compat(val name, val super, val slots, val initfun, val boactor); static val call_super_method(val inst, val sym, struct args *); static val call_super_fun(val type, val sym, struct args *); -static val allocate_struct(val type); void struct_init(void) { @@ -516,7 +515,7 @@ static void call_postinitfun_chain(struct struct_type *st, val strct) } } -static val allocate_struct(val type) +val allocate_struct(val type) { val self = lit("allocate-struct"); struct struct_type *st = stype_handle(&type, self); |