mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
fix SCM_ASRTGO deprecation
* libguile/__scm.h (SCM_ASRTGO): Whoops, actually remove the ASRTGO definitions here. * libguile/deprecated.h: Fix type of scm_i_deprecated_asrtgo.
This commit is contained in:
parent
866ecf54c0
commit
9a38439301
2 changed files with 2 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
#define SCM___SCM_H
|
||||
|
||||
/* Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2006,
|
||||
* 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
|
||||
* 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public License
|
||||
|
@ -593,7 +593,6 @@ do { \
|
|||
#ifdef SCM_RECKLESS
|
||||
#define SCM_ASSERT(_cond, _arg, _pos, _subr)
|
||||
#define SCM_ASSERT_TYPE(_cond, _arg, _pos, _subr, _msg)
|
||||
#define SCM_ASRTGO(_cond, _label)
|
||||
#else
|
||||
#define SCM_ASSERT(_cond, _arg, _pos, _subr) \
|
||||
do { if (SCM_UNLIKELY (!(_cond))) \
|
||||
|
@ -601,9 +600,6 @@ do { \
|
|||
#define SCM_ASSERT_TYPE(_cond, _arg, _pos, _subr, _msg) \
|
||||
do { if (SCM_UNLIKELY (!(_cond))) \
|
||||
scm_wrong_type_arg_msg(_subr, _pos, _arg, _msg); } while (0)
|
||||
#define SCM_ASRTGO(_cond, _label) \
|
||||
do { if (SCM_UNLIKELY (!(_cond))) \
|
||||
goto _label; } while (0)
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -802,7 +802,7 @@ SCM_DEPRECATED SCM scm_immutable_double_cell (scm_t_bits car, scm_t_bits cbr,
|
|||
|
||||
|
||||
|
||||
SCM_DEPRECATED SCM scm_i_deprecated_asrtgo (scm_t_bits condition);
|
||||
SCM_DEPRECATED scm_t_bits scm_i_deprecated_asrtgo (scm_t_bits condition);
|
||||
|
||||
/* Deprecated 08-01-2012, as it's undocumented and unused. */
|
||||
#define SCM_ASRTGO(_cond, _label) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue