mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
(scm_eval_options_interface): Use scm_frame_critical_section instead
of SCM_CRITICAL_SECTION_START and SCM_CRITICAL_SECTION_END.
This commit is contained in:
parent
a677679f49
commit
876099d4ef
1 changed files with 5 additions and 5 deletions
|
@ -3097,16 +3097,16 @@ SCM_DEFINE (scm_eval_options_interface, "eval-options-interface", 0, 1, 0,
|
|||
#define FUNC_NAME s_scm_eval_options_interface
|
||||
{
|
||||
SCM ans;
|
||||
SCM_CRITICAL_SECTION_START;
|
||||
|
||||
scm_frame_begin (0);
|
||||
scm_frame_critical_section (SCM_BOOL_F);
|
||||
ans = scm_options (setting,
|
||||
scm_eval_opts,
|
||||
SCM_N_EVAL_OPTIONS,
|
||||
FUNC_NAME);
|
||||
/* njrev: There are several ways that scm_options can signal an
|
||||
error: scm_cons, scm_malloc_obj, scm_misc_error; so should use a
|
||||
critical section frame here. */
|
||||
scm_eval_stack = SCM_EVAL_STACK * sizeof (void *);
|
||||
SCM_CRITICAL_SECTION_END;
|
||||
scm_frame_end ();
|
||||
|
||||
return ans;
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue