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.
This commit is contained in:
parent
5448e5a4b0
commit
3b6bf20ef5
12 changed files with 11 additions and 6 deletions
|
|
@ -55,7 +55,6 @@
|
|||
SCM_INTERNAL int scm_i_primitive_code_p (const uint32_t *code);
|
||||
SCM_INTERNAL uintptr_t scm_i_primitive_call_ip (SCM subr);
|
||||
|
||||
union scm_vm_stack_element;
|
||||
SCM_INTERNAL SCM scm_apply_subr (union scm_vm_stack_element *sp,
|
||||
ptrdiff_t nargs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue