lua-users home
lua-l archive

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


Is there anyway to register a C variable with Lua so that I can use it in c and lua. I am trying to do this:

[c code]
int mouse=0;

[LUA]
mouse=1
--Other things
mouse=0

So that mouse can be changed and used in C and lua.


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.