mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 17:50:29 +02:00
Remove public SCM_VALIDATE_NIM
* libguile/random.c (scm_random): Remove needless use of SCM_VALIDATE_NIM. * libguile/srcprop.c (SCM_VALIDATE_NIM): Move definition here, as this file is its only use. * libguile/validate.h (SCM_VALIDATE_NIM): Remove. This was public but unlikely to be used in the wild.
This commit is contained in:
parent
82d5662887
commit
eb5e1b8d5f
3 changed files with 3 additions and 3 deletions
|
@ -31,8 +31,6 @@
|
|||
|
||||
|
||||
|
||||
#define SCM_VALIDATE_NIM(pos, scm) SCM_MAKE_VALIDATE_MSG (pos, scm, NIMP, "non-immediate")
|
||||
|
||||
#define SCM_VALIDATE_BOOL(pos, flag) \
|
||||
do { \
|
||||
SCM_ASSERT_TYPE (scm_is_bool (flag), flag, pos, FUNC_NAME, "boolean"); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue