lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Ahh,

Thanks. Now it's clear like sky on Sahara :)

Any chance for luatraverse for lua 5.0.3 ?

Nick

________________________________

From: Alexandra Barros [mailto:alexandra.barros@gmail.com]
Sent: 2006-07-16 19:53:12 GMT
To: Lua list
Subject: Re: HELP - leak in lua 5.0.3

Sory, I think I dind't explain well :(
You don't need to pass countreferences and findallpaths as a parameter of
traverse. Inside these functions there's a definition of the function that
should be passed to traverse and the call for traverse. 
So, instead of traverse(countreferences(a)) you should use
countreferences(a).

I'll see the problem with the version.

Alexandra.