mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
expose frame-previous, once again
* libguile/frames.h: * libguile/frames.c (scm_frame_previous): Rename from scm_c_frame_prev, and expose to Scheme. Skip boot frames. * libguile/stacks.c (stack_depth, narrow_stack, scm_make_stack) (scm_stack_ref): Adjust for scm_frame_previous skipping boot frames.
This commit is contained in:
parent
5b98517a65
commit
93dbc31b9a
3 changed files with 28 additions and 18 deletions
|
@ -120,8 +120,7 @@ SCM_API SCM scm_frame_instruction_pointer (SCM frame);
|
|||
SCM_API SCM scm_frame_return_address (SCM frame);
|
||||
SCM_API SCM scm_frame_mv_return_address (SCM frame);
|
||||
SCM_API SCM scm_frame_dynamic_link (SCM frame);
|
||||
|
||||
SCM_API SCM scm_c_frame_prev (SCM frame);
|
||||
SCM_API SCM scm_frame_previous (SCM frame);
|
||||
|
||||
SCM_INTERNAL void scm_bootstrap_frames (void);
|
||||
SCM_INTERNAL void scm_init_frames (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue