|
One way is to use the LNUM patch and compile with LNUM_INT64 defined. http://luaforge.net/frs/?group_id=214 Alex Chen kirjoitti 28.3.2008 kello 16:56:
Is it possible to config lua to express Integer in 0~0xffffffffffffffff, and can exchange the long long integer between lua and c++?I tried to modified luaconfig.h with #define LUA_INTEGER long long but it not work. I use luaL_checkinteger and lua_pushinteger to exchange the value.