mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +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
|
@ -196,6 +196,9 @@ SCM_DEFINE (scm_source_properties, "source-properties", 1, 0, 0,
|
|||
}
|
||||
#undef FUNC_NAME
|
||||
|
||||
#define SCM_VALIDATE_NIM(pos, scm) \
|
||||
SCM_MAKE_VALIDATE_MSG (pos, scm, NIMP, "non-immediate")
|
||||
|
||||
/* Perhaps this procedure should look through an alist
|
||||
and try to make a srcprops-object...? */
|
||||
SCM_DEFINE (scm_set_source_properties_x, "set-source-properties!", 2, 0, 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue