Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 493464
Collapse All | Expand All

(-)a/libguile/__scm.h (-1 / +1 lines)
Lines 66-72 Link Here
66
 *   1) int foo (char arg) SCM_NORETURN;
66
 *   1) int foo (char arg) SCM_NORETURN;
67
 */
67
 */
68
#ifdef __GNUC__
68
#ifdef __GNUC__
69
#define SCM_NORETURN __attribute__ ((noreturn))
69
#define SCM_NORETURN __attribute__ ((__noreturn__))
70
#else
70
#else
71
#define SCM_NORETURN
71
#define SCM_NORETURN
72
#endif
72
#endif
(-)a/libguile/throw.c (-1 / +1 lines)
Lines 684-690 SCM_DEFINE (scm_throw, "throw", 1, 0, 1, Link Here
684
#undef FUNC_NAME
684
#undef FUNC_NAME
685
685
686
SCM
686
SCM
687
scm_ithrow (SCM key, SCM args, int noreturn SCM_UNUSED)
687
scm_ithrow (SCM key, SCM args, int no_return SCM_UNUSED)
688
{
688
{
689
  SCM jmpbuf = SCM_UNDEFINED;
689
  SCM jmpbuf = SCM_UNDEFINED;
690
  SCM wind_goal;
690
  SCM wind_goal;
(-)a/libguile/throw.h (-1 / +1 lines)
Lines 91-97 SCM_API SCM scm_catch_with_pre_unwind_handler (SCM tag, SCM thunk, SCM handler, Link Here
91
SCM_API SCM scm_catch (SCM tag, SCM thunk, SCM handler);
91
SCM_API SCM scm_catch (SCM tag, SCM thunk, SCM handler);
92
SCM_API SCM scm_with_throw_handler (SCM tag, SCM thunk, SCM handler);
92
SCM_API SCM scm_with_throw_handler (SCM tag, SCM thunk, SCM handler);
93
SCM_API SCM scm_lazy_catch (SCM tag, SCM thunk, SCM handler);
93
SCM_API SCM scm_lazy_catch (SCM tag, SCM thunk, SCM handler);
94
SCM_API SCM scm_ithrow (SCM key, SCM args, int noreturn);
94
SCM_API SCM scm_ithrow (SCM key, SCM args, int no_return);
95
95
96
SCM_API SCM scm_throw (SCM key, SCM args);
96
SCM_API SCM scm_throw (SCM key, SCM args);
97
SCM_API void scm_init_throw (void);
97
SCM_API void scm_init_throw (void);

Return to bug 493464