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
-----------------------------------------------------------------
_______________________________________________
dev-luatex mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to