Sack Library Documentation
sack::LinkLast Macro
#define LinkLast( root, type, node ) if( node ) do { if( !root ) \
    { root = node; (node)->me=&root; } \
    else { type tmp; \
    for( tmp = root; tmp->next; tmp = tmp->next ); \
    tmp->next = (node); \
    (node)->me = &tmp->next; \
    } } while (0)

Link a node to the end of a list. Link thing inserts the new node as the new head of the list.

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!