1.0.22.22: (SETF FIND-CLASSOID) to drop DEFTYPE lambda-lists and source-locations
[sbcl/tcr.git] / src / runtime / fixnump.h
blob9681520e24fa361be9db8404500c5f867fc29fc9
1 /*
2 * This software is part of the SBCL system. See the README file for
3 * more information.
5 * This software is derived from the CMU CL system, which was
6 * written at Carnegie Mellon University and released into the
7 * public domain. The software is in the public domain and is
8 * provided with absolutely no warranty. See the COPYING and CREDITS
9 * files for more information.
12 #ifndef _FIXNUMP_H
13 #define _FIXNUMP_H
15 static inline int fixnump(lispobj obj)
17 return((obj &
18 (LOWTAG_MASK &
19 (~(EVEN_FIXNUM_LOWTAG|ODD_FIXNUM_LOWTAG))))
20 == 0);
23 #endif