core: builtin_p: Prepare for M2-Planet.

* src/builtins.c (builtin_p): Prepare for M2-Planet.
This commit is contained in:
Jan Nieuwenhuizen 2019-10-24 19:07:22 +02:00
parent aca6952f63
commit 0a85d9d72b
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 3 additions and 2 deletions

View File

@ -66,8 +66,9 @@ builtin_function (SCM builtin)
SCM
builtin_p (SCM x)
{
if (TYPE (x) == TSTRUCT && struct_ref_ (x, 2) == cell_symbol_builtin)
return cell_t;
if (TYPE (x) == TSTRUCT)
if (struct_ref_ (x, 2) == cell_symbol_builtin)
return cell_t;
return cell_f;
}