/* Copyright (c) 2001, Stanford University * All rights reserved. * * See the file LICENSE.txt for information on redistributing this software. */ /* Bit vector functions */ #ifndef CR_BITS_H #define CR_BITS_H #include "cr_compiler.h" #define CR_MAX_CONTEXTS 512 #define CR_MAX_BITARRAY (CR_MAX_CONTEXTS / 32) /* 32 contexts per uint */ #ifdef __cplusplus extern "C" { #endif static INLINE void RESET( unsigned int *b, const unsigned int *d ) { int j; for (j=0;j