mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
SCM_VALIDATE_SMOB uses SCM_SMOB_PREDICATE
* libguile/validate.h (SCM_VALIDATE_SMOB): Change to use SCM_SMOB_PREDICATE instead of SCM_TYP16_PREDICATE.
This commit is contained in:
parent
00f8b368ca
commit
0e163c06f2
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@
|
|||
|
||||
#define SCM_VALIDATE_SMOB(pos, obj, type) \
|
||||
do { \
|
||||
SCM_ASSERT (SCM_TYP16_PREDICATE (scm_tc16_ ## type, obj), \
|
||||
SCM_ASSERT (SCM_SMOB_PREDICATE (scm_tc16_ ## type, obj), \
|
||||
obj, pos, FUNC_NAME); \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue