4 * Copyright Metaparadigm Pte. Ltd. 2004.
5 * Michael Clark <michael@metaparadigm.com>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public (LGPL)
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details: http://www.gnu.org/
25 (void) (&_x == &_y); \
31 (void) (&_x == &_y); \
34 #define hexdigit(x) (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9)
35 #define error_ptr(error) ((void*)error)
36 #define is_error(ptr) ((unsigned long)ptr > (unsigned long)-4000L)