Changeset View
Changeset View
Standalone View
Standalone View
head/lib/liblua/luaconf.h
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | |||||
#define LUA_INT_INT 1 | #define LUA_INT_INT 1 | ||||
#define LUA_INT_LONG 2 | #define LUA_INT_LONG 2 | ||||
#define LUA_INT_LONGLONG 3 | #define LUA_INT_LONGLONG 3 | ||||
/* predefined options for LUA_FLOAT_TYPE */ | /* predefined options for LUA_FLOAT_TYPE */ | ||||
#define LUA_FLOAT_FLOAT 1 | #define LUA_FLOAT_FLOAT 1 | ||||
#define LUA_FLOAT_DOUBLE 2 | #define LUA_FLOAT_DOUBLE 2 | ||||
#define LUA_FLOAT_LONGDOUBLE 3 | #define LUA_FLOAT_LONGDOUBLE 3 | ||||
#define LUA_FLOAT_INT64 4 | |||||
#if defined(LUA_32BITS) /* { */ | #if defined(LUA_32BITS) /* { */ | ||||
/* | /* | ||||
** 32-bit integers and 'float' | ** 32-bit integers and 'float' | ||||
*/ | */ | ||||
#if LUAI_BITSINT >= 32 /* use 'int' if big enough */ | #if LUAI_BITSINT >= 32 /* use 'int' if big enough */ | ||||
#define LUA_INT_TYPE LUA_INT_INT | #define LUA_INT_TYPE LUA_INT_INT | ||||
#else /* otherwise use 'long' */ | #else /* otherwise use 'long' */ | ||||
▲ Show 20 Lines • Show All 670 Lines • Show Last 20 Lines |