control.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Copyright (C) 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
  2. *
  3. * This library is free software; you can redistribute it and/or
  4. * modify it under the terms of the GNU Lesser General Public License
  5. * as published by the Free Software Foundation; either version 3 of
  6. * the License, or (at your option) any later version.
  7. *
  8. * This library is distributed in the hope that it will be useful, but
  9. * WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. * Lesser General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU Lesser General Public
  14. * License along with this library; if not, write to the Free Software
  15. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  16. * 02110-1301 USA
  17. */
  18. #ifndef SCM_CONTROL_H
  19. #define SCM_CONTROL_H
  20. #include "libguile/vm.h"
  21. SCM_INTERNAL SCM scm_i_prompt_pop_abort_args_x (struct scm_vm *vp,
  22. scm_t_ptrdiff saved_stack_depth);
  23. SCM_INTERNAL void scm_c_abort (struct scm_vm *vp, SCM tag, size_t n, SCM *argv,
  24. scm_i_jmp_buf *registers) SCM_NORETURN;
  25. SCM_INTERNAL SCM scm_abort_to_prompt_star (SCM tag, SCM args) SCM_NORETURN;
  26. SCM_INTERNAL void scm_init_control (void);
  27. #endif /* SCM_CONTROL_H */