core: builtin_p: Prepare for M2-Planet.

* src/builtins.c (builtin_p): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-07-16 19:07:22 +02:00 committed by Jan Nieuwenhuizen
parent bdd84ac5c6
commit 4e92422bdf
No known key found for this signature in database
GPG Key ID: A781B6A92F5C71D6
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;
}