#define UnlinkThing( node ) \ ((( (node) && (node)->me && ( (*(node)->me)=(node)->next ) )? \ (node)->next->me = (node)->me:0),((node)->next = NULL),((node)->me = NULL),(node))
Remove a node from a list. Requires only the node.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|