Roberto Ierusalimschy
|
325e44d87e
no more "-2" for limits. (Limits should be precise; safety is in
|
11 anni fa |
Roberto Ierusalimschy
|
54ac253343
detail (no need to define LUAI_USER_ALIGNMENT_T when it is not
|
11 anni fa |
Roberto Ierusalimschy
|
5bbb4a06a6
removed unused parameter Ä'L' in macro 'api_check' and company
|
11 anni fa |
Roberto Ierusalimschy
|
c94f11d783
'IntPoint' -> 'point2int' + ensure that casted value fits in
|
11 anni fa |
Roberto Ierusalimschy
|
037a70dfea
cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from
|
11 anni fa |
Roberto Ierusalimschy
|
8f961da3db
macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that
|
11 anni fa |
Roberto Ierusalimschy
|
ef789d4161
new global macro 'LUA_MAXUNSIGNED'
|
11 anni fa |
Roberto Ierusalimschy
|
bf06e22b6a
correct definition for 'MAX_SIZE' (using singed integers as the limit,
|
11 anni fa |
Roberto Ierusalimschy
|
2771050dfa
'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER'
|
11 anni fa |
Roberto Ierusalimschy
|
cd12410195
new macro 'cast_void'
|
11 anni fa |
Roberto Ierusalimschy
|
11e762dbcd
added macro MAX_UINTEGER
|
11 anni fa |
Roberto Ierusalimschy
|
8c68863960
initial size of string table (MINSTRTABSIZE) should be large enough
|
12 anni fa |
Roberto Ierusalimschy
|
130c0e40e0
new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible
|
12 anni fa |
Roberto Ierusalimschy
|
fc083f1138
removed all tricks for conversions + 'luai_hashnum' moved to ltable.c
|
12 anni fa |
Roberto Ierusalimschy
|
d630daca1a
"legal" way to convert a float to an integer in C
|
12 anni fa |
Roberto Ierusalimschy
|
e2c8c756ee
removed 'IEEE tricks' (should not be needed in Lua with integers)
|
12 anni fa |
Roberto Ierusalimschy
|
a80a2b5e56
new cast macros for lua_Integer and lua_Unsigned
|
12 anni fa |
Roberto Ierusalimschy
|
b559aed2d3
'l_tg' was renamed to 'l_mathop' and this use was not corrected at
|
12 anni fa |
Roberto Ierusalimschy
|
181a837cac
small improvement in the support of 'float' as lua_Number
|
12 anni fa |
Roberto Ierusalimschy
|
d58ce8106e
macro 'lua_number2unsigned' also needs proper definition if
|
13 anni fa |
Roberto Ierusalimschy
|
31f7d553e4
LUA_CORE condition removed from definition of some 'tricks' (as it
|
13 anni fa |
Roberto Ierusalimschy
|
5adb5a4812
definition for 'MAX_LMEM'
|
13 anni fa |
Roberto Ierusalimschy
|
77cbd817d1
better(?) handling of '#define's for IEEE-related tricks + avoid using
|
13 anni fa |
Roberto Ierusalimschy
|
afc3fcf952
definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there)
|
13 anni fa |
Roberto Ierusalimschy
|
a4b96ce9a3
first implementation of long strings
|
13 anni fa |
Roberto Ierusalimschy
|
138be5b843
no more explicit support for 'luaall_c': unifying file can do
|
13 anni fa |
Roberto Ierusalimschy
|
51650eac78
small change to avoid warnings of non-specified order of access
|
13 anni fa |
Roberto Ierusalimschy
|
217e67cb22
new type 'l_noret' for function that do not return
|
14 anni fa |
Roberto Ierusalimschy
|
9caf5b4f79
lint (unused definition)
|
14 anni fa |
Roberto Ierusalimschy
|
d281d23f8d
detail (make 'lua_assert' a valid expression even when turned off)
|
14 anni fa |