Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::GETMASK Macro
C++
#define GETMASK(v,n) ( ( ((MASKSET_READTYPE*)((v)+((n)*(v##_mask_size))/MASKTYPEBITS((v)[0])))[0]                                 \
 & MASK_MASK(n,v##_mask_size) )                                                                           \
    >> (((n)*(v##_mask_size))&0x7))

get the value of a field

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!