summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-04-20 19:32:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-04-20 19:32:26 -0700
commit5ae1f55200741dd0089f603d07777a1b9faf4690 (patch)
treef9d89c4501c3a6dd5936baa361ab70bbd01c7fc9 /struct.h
parentab1059ae34e48d37d0c5702c3bd5e3bf2afb1a20 (diff)
downloadtxr-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.h')
-rw-r--r--struct.h1
1 files changed, 1 insertions, 0 deletions
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);