Sha256: 5f3a2e4b9752198b71e52d596ae6dfa18082144a29168ea09cb2d2e66f7ee16d
Contents?: true
Size: 661 Bytes
Versions: 4
Compression:
Stored size: 661 Bytes
Contents
/* * $Id: bits.h,v 1.10 2006/01/30 23:07:57 mclark Exp $ * * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd. * Michael Clark <michael@metaparadigm.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See COPYING for details. * */ #ifndef _bits_h_ #define _bits_h_ #ifndef json_min #define json_min(a,b) ((a) < (b) ? (a) : (b)) #endif #ifndef json_max #define json_max(a,b) ((a) > (b) ? (a) : (b)) #endif #define hexdigit(x) (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9) #define error_ptr(error) ((void*)error) #define is_error(ptr) ((unsigned long)ptr > (unsigned long)-4000L) #endif
Version data entries
4 entries across 4 versions & 4 rubygems