0.9.2.42:
[sbcl/lichteblau.git] / src / runtime / fixnump.h
blobb3aadb7061442658ab305320ec2216b9d6d79849
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) {
16 return((obj &
17 (LOWTAG_MASK &
18 (~(EVEN_FIXNUM_LOWTAG|ODD_FIXNUM_LOWTAG))))
19 == 0);
22 #endif