#define GrabThing( node ) \ ((node)?(((node)->me)?(((*(node)->me)=(node)->next)? \ ((node)->next->me=(node)->me),((node)->me=&(node)->next):NULL):((node)->me=&(node)->next)):NULL)
this has two expressions duplicated... but in being so safe in this expression, the self-circular link needs to be duplicated. GrabThing is used for nodes which are circularly bound
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|