macro cleanup
This commit is contained in:
parent
0c295a6827
commit
84ec123c75
|
@ -2,7 +2,7 @@
|
|||
|
||||
#define INPUT_FILE "../data/routing-data"
|
||||
#define READ_MODE "r"
|
||||
#define GET_BIT(key, bit) (( key.i[ bit / (sizeof(unsigned) * 8) ] & (1 << ((sizeof(unsigned) * 8 - 1) - (bit % (sizeof(unsigned) * 8)))) ) != 0 )
|
||||
#define GET_BIT(key, bit) ( ( key.l[ bit / 64 ] & (1ul << (63 - bit % 64)) ) != 0 )
|
||||
|
||||
|
||||
trie_node_t create_node() {
|
||||
|
|
Loading…
Reference in New Issue