lua-users home
lua-l archive

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


Just writing to see if anybody has done something like this before. I 
think is causing our program to leak memory slowly because we are 
confusing lua.

What we have done is basically written a C-function called by lua 
which passes a ID refering to another lua script so that we could 
call another lua script from lua..i.e. script 1 runs...executes our 
funcition which executes another lua script using the same L state 
pointer and then returns to the original script which continues..

Not sure if this would cause a leak in lua, but I think it is and I 
just wanted to check before I get alot of our script re-written to 
find out it isn't.

Terence