Sack Library Documentation
sack::containers::data_list::DATA_NEXTALL Macro
#define DATA_NEXTALL( l, i, t, v ) if(((v)=(t)NULL),(l))   \
    for( ((i)++);                         \
    ((i) < (l)->Cnt)                                    \
         ?((v)=(t)((l)->data + (((l)->Size) * (i))))   \
          :(((v)=(t)NULL),0); (i)++ )

#define DATA_FORALL( l, i, t, v ) if(((v)=(t)NULL),(l)&&((l)->Cnt != INVALID_INDEX)) for( ((i)=0); ((i) < (l)->Cnt) ?(((v)=(t)((l)->data + (PTRSZVAL)(((l)->Size) * (i)))),1) :(((v)=(t)NULL),0)); (i)++ )

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
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!