Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::sets::IsUsed Macro
C++
#define IsUsed(set,n) (((set)->bUsed[UNIT_USED_IDX(n)]) & UNIT_USED_MASK(n) )
Parameters 
Description 
set 
pointer to a genericset 
index 
item to test used. 

not zero if is used, otherwise is free.

A macro for use by internal code that tests a member of a set as used.

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