[Dev-luatex] node.next(), node.prev()
Hans Hagen
pragma at wxs.nl
Mon Nov 29 23:25:11 CET 2010
On 29-11-2010 10:33, Patrick Gundlach wrote:
> Hi,
>
> is there a difference between
>
> -- assume that x is a node
> n = x.next
>
> and
>
> n = node.next(x)
>
> ?
>
> I guess that node.prev(n) needs the prev pointer set, right?
x.next and node.next are similar but sometimes it's handy to have the
next as function; performance is the same
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the dev-luatex
mailing list