Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::text::SETNEXTLINE Macro
C++
#define SETNEXTLINE(line,p) ((line)?(((line)->Next ) = (PTEXT)(p)):0)

Link one PTEXT segment to another. Sets one half of the links appropriate for usage.

This example sets the next pointer of 'line' to 'word'.

PTEXT line;
PTEXT word;
SETNEXTLINE( line, word );
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!