/* BigIO.h - should have synchronized copies in both ../BigIO{in,out}put/BigIO.h Arduino BigIO* library shared header - sync by M-x compile Copyright (c) 2011 Devon Sean McCullough Licensed under the GPL (GNU Public License) */ #ifndef BigIO_h #define BigIO_h typedef uint64_t BigIO_t; // unsigned integer sixty-four bit type //typedef unsigned long BigIO_t; //typedef unsigned int BigIO_t; #define BIGIO_BITS_PER_BYTE (8) #define BIGIO_BITS (sizeof(BigIO_t) * BIGIO_BITS_PER_BYTE) #define BIGIO_BITS_TO_BYTES(size) ((size + BIGIO_BITS_PER_BYTE - 1) / BIGIO_BITS_PER_BYTE) #endif // Local Variables: // compile-command: "cp -p BigIO.h ../$(basename $(pwd) | sed -e s/in/out/ -e t -e s/out/in/)/" // End: // end BigIO.h