summaryrefslogtreecommitdiff
path: root/libguile/scm.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-06-26 11:25:07 +0200
committerAndy Wingo <wingo@pobox.com>2018-06-26 11:25:07 +0200
commit51e35158bad42b8db28e9272ebb279f17b76dbe4 (patch)
tree02370d3b367571aed28154df7cfc23d0b7dd5bf7 /libguile/scm.h
parent185d19dfb1a570c3075fa8f1a653334412ae6b85 (diff)
downloadguile-51e35158bad42b8db28e9272ebb279f17b76dbe4.tar.gz
Refactor continuation capture in VM
* libguile/continuations.h: * libguile/continuations.c (scm_i_make_continuation): Refactor to expect registers to already be captured. * libguile/scm.h (scm_i_thread): Add forward decl. * libguile/threads.h (struct scm_i_thread): Just fill in the struct type. * libguile/vm-engine.c (call/cc); Use the registers already captured before entering the VM.
Diffstat (limited to 'libguile/scm.h')
-rw-r--r--libguile/scm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/scm.h b/libguile/scm.h
index 9996ec47b..99b20fc32 100644
--- a/libguile/scm.h
+++ b/libguile/scm.h
@@ -827,7 +827,7 @@ typedef int32_t scm_t_wchar;
struct scm_frame;
struct scm_vm;
union scm_vm_stack_element;
-
+typedef struct scm_i_thread scm_i_thread; /* FIXME: Rename. */