Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::SETMASK Macro
C++
#define SETMASK(v,n,val) (((MASKSET_READTYPE*)((v)+((n)*(v##_mask_size))/MASKTYPEBITS((v)[0])))[0] =    \
( ((MASKSET_READTYPE*)((v)+((n)*(v##_mask_size))/MASKTYPEBITS(_8)))[0]                                 \
 & (~(MASK_MASK(n,v##_mask_size))) )                                                                           \
    | MASK_MASK_VAL(n,v##_mask_size,val) )

set a field index to a value

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!