Introduce sb!vm::fixnum-lowtags
[sbcl.git] / src / runtime / fixnump.h
1 /*
2  * This software is part of the SBCL system. See the README file for
3  * more information.
4  *
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.
10  */
11
12 #ifndef _FIXNUMP_H
13 #define _FIXNUMP_H
14
15 static inline int fixnump(lispobj obj)
16 {
17     return((obj & FIXNUM_TAG_MASK) == 0);
18 }
19
20 #endif