diff options
author | Andy Wingo <wingo@pobox.com> | 2018-06-26 10:46:11 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-06-26 10:55:02 +0200 |
commit | 3b6bf20ef5d7d0de34de4fb7ba9777af29ba55ae (patch) | |
tree | 08f437897b7a2fdea3ff8c11f18aa19c747a55fa /libguile/scm.h | |
parent | 5448e5a4b008a1e25b24f00dc627c08457b69914 (diff) | |
download | guile-3b6bf20ef5d7d0de34de4fb7ba9777af29ba55ae.tar.gz |
Most header files use forward decl for union scm_vm_stack_element
* libguile.h: Add includes for frames.h and vm.h. Probably need to
revisit these includes.
* libguile/scm.h (struct scm_frame, union scm_vm_stack_element)
(struct scm_vm): Add forward declarations.
* libguile/vm.h: Remove frames.h include.
* libguile/foreign.h:
* libguile/gsubr.h: Remove forward decls of union scm_vm_stack_element.
* libguile/control.c:
* libguile/eval.c:
* libguile/print.c: Add frames.h includes.
* libguile/threads.h: Remove continuations.h.
* libguile/vm.c: Add continuations.h.
* libguile/control.h: Swap vm.h include for scm.h include.
* libguile/continuations.h: Add programs.h include for SCM_PROGRAM_P.
Diffstat (limited to 'libguile/scm.h')
-rw-r--r-- | libguile/scm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libguile/scm.h b/libguile/scm.h index 9dee8fc95..9996ec47b 100644 --- a/libguile/scm.h +++ b/libguile/scm.h @@ -824,6 +824,9 @@ typedef struct scm_dynamic_state scm_t_dynamic_state; typedef struct scm_print_state scm_print_state; typedef struct scm_dynstack scm_t_dynstack; typedef int32_t scm_t_wchar; +struct scm_frame; +struct scm_vm; +union scm_vm_stack_element; |