lua-users home
lua-l archive

c &lua integration

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


Is it possible to fetch variable reads/writes?
Lets say i vant to have a "magic" variable say_biip. If i in the lua script writes:
say_beep = 3
then i want the c program to play a sound.
If i wanted to create a visualbasic kind of program. Then i would have mywindow.width = 45 then the c program should do something based on the variable write.
how is this kind of integration solved thru with?
is it possible to hook a lua-stack-change?
regards,
hakon

AltStyle によって変換されたページ (->オリジナル) /