lua-users home
lua-l archive

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


2009/8/11 tim pynegar <tpynegar@hotmail.com>
Hi,
 
I've got a problem passing in an Integer from C++ into the Lua program. I'm using the following
code to pass the variable in.
 
lua_pushinteger (state, iInt);

The integer is signed and can't hold a number such as 0x88D37A6C, it will probably turn into a negative number. Use lua_pushnumber to pass such large integers.