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

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

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

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