lua-users home
lua-l archive

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


Hi,
I couldn't find discussion about my problem in archieves.
Hope someone knows how to do it.

My problem is:

in lua:
avar=3
x=afunction(avar)  --afunction's implementation is in c++

in c++:
I want to change avar's value when afunction is called (like reference param
in c++).
Don't know its global name.
Is it possible?

--
Best regards,
Hakki Dogusan
dogusanh@tr.net
http://home.tr.net/dogusanh