mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
Some cleanup on smob calls.
This commit is contained in:
parent
23cc31b8ee
commit
68b069240f
5 changed files with 34 additions and 22 deletions
|
@ -98,7 +98,7 @@ scm_i_procedure_arity (SCM proc)
|
|||
r = 1;
|
||||
break;
|
||||
case scm_tc7_smob:
|
||||
if (SCM_SMOB_DESCRIPTOR (proc).apply)
|
||||
if (SCM_SMOB_APPLICABLE_P (proc))
|
||||
{
|
||||
int type = SCM_SMOB_DESCRIPTOR (proc).gsubr_type;
|
||||
a += SCM_GSUBR_REQ (type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue