Welcome to the Builder Academy

Question Bitvector comment confusing

More
31 Jul 2013 03:22 #3641 by Arbaces
Hi,

The following comment exists in TBA's structs.h file:

/** Bitvector type for 32 bit unsigned long bitvectors. 'unsigned long long'
* will give you at least 64 bits if you have GCC. You'll have to search
* throughout the code for "bitvector_t" and change them yourself if you'd
* like this extra flexibility. */
typedef unsigned long long bitvector_t;

I'm not sure exactly what this comment means. Editing this file alone changes the size of bitvector_t everywhere, right? Why does it say to search the code for where bitvector_t is used?

Please Log in or Create an account to join the conversation.

Time to create page: 0.161 seconds