Roberto Ierusalimschy
|
16e8bb360b
|
comment
|
10 years ago |
Roberto Ierusalimschy
|
a30c66f0fc
|
macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameter
(some people use it)
|
10 years ago |
Roberto Ierusalimschy
|
a80cada914
|
new cache for interning strings
|
10 years ago |
Roberto Ierusalimschy
|
a00013c8d0
|
'point2int' -> 'point2uint' (to reflect its actual result type)
|
10 years ago |
Roberto Ierusalimschy
|
4ccc4578b3
|
detail (use 'l_floor' instead of 'l_mathop(floor)')
|
10 years ago |
Roberto Ierusalimschy
|
c8d6cb0136
|
macros 'luai_num*' (for float arithmetic operations) moved to
llimits.h.
|
10 years ago |
Roberto Ierusalimschy
|
438a9fcc78
|
LUAI_MAXSHORTLEN moved from 'luaconf.h' to 'llimits.h' (does not
affect the API and is seldom modified)
|
10 years ago |
Roberto Ierusalimschy
|
5b01cb39b5
|
larger MINSTRTABSIZE (standard Lua starts with ~230 strings, after
oppening the standard libraries)
|
10 years ago |
Roberto Ierusalimschy
|
a0503305bd
|
comments
|
10 years ago |
Roberto Ierusalimschy
|
cdd26700e8
|
definition for 'MAXUPVAL' moved for a more "private" place and its
value and comment corrected to reflect current implementation
|
10 years ago |
Roberto Ierusalimschy
|
1465edf341
|
old Visual Studio versions did not support 'noreturn' attribute
|
10 years ago |
Roberto Ierusalimschy
|
e75c0148c3
|
comments (references to "ANSI C" changed to "ISO C", which is the
international name
|
10 years ago |
Roberto Ierusalimschy
|
ff6c034330
|
configurations for types 'lu_mem'/'l_mem'/'Instruction' moved to here
(from 'luaconf.h'), as they are not needed by the API and probably
will not be changed
|
10 years ago |
Roberto Ierusalimschy
|
491103708e
|
'MAXSTACK' -> 'MAXREGS' and moved to 'lcode.c' (there is no reason
to change that constant...)
|
10 years ago |
Roberto Ierusalimschy
|
bdf566a8a3
|
`name' in comments changed to 'name'
|
10 years ago |
Roberto Ierusalimschy
|
325e44d87e
|
no more "-2" for limits. (Limits should be precise; safety is in
the code that handles these limits.)
|
10 years ago |
Roberto Ierusalimschy
|
54ac253343
|
detail (no need to define LUAI_USER_ALIGNMENT_T when it is not
defined; simpler to define 'L_Umaxalign' directly)
|
10 years ago |
Roberto Ierusalimschy
|
5bbb4a06a6
|
removed unused parameter Ä'L' in macro 'api_check' and company
|
10 years ago |
Roberto Ierusalimschy
|
c94f11d783
|
'IntPoint' -> 'point2int' + ensure that casted value fits in
destination type
|
11 years ago |
Roberto Ierusalimschy
|
037a70dfea
|
cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from
outside (mostly for testing)
|
11 years ago |
Roberto Ierusalimschy
|
8f961da3db
|
macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that
should be used only between lua_Integer and lua_Unsigned
|
11 years ago |
Roberto Ierusalimschy
|
ef789d4161
|
new global macro 'LUA_MAXUNSIGNED'
|
11 years ago |
Roberto Ierusalimschy
|
bf06e22b6a
|
correct definition for 'MAX_SIZE' (using singed integers as the limit,
not unsigned ones) + new type 'l_uacInt'
|
11 years ago |
Roberto Ierusalimschy
|
2771050dfa
|
'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER'
|
11 years ago |
Roberto Ierusalimschy
|
cd12410195
|
new macro 'cast_void'
|
11 years ago |
Roberto Ierusalimschy
|
11e762dbcd
|
added macro MAX_UINTEGER
|
11 years ago |
Roberto Ierusalimschy
|
8c68863960
|
initial size of string table (MINSTRTABSIZE) should be large enough
to hold all strings needed by an empty Lua state
|
11 years ago |
Roberto Ierusalimschy
|
130c0e40e0
|
new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible
from Lua; these must fit in a lua_Integer
|
12 years ago |
Roberto Ierusalimschy
|
fc083f1138
|
removed all tricks for conversions + 'luai_hashnum' moved to ltable.c
|
12 years ago |
Roberto Ierusalimschy
|
d630daca1a
|
"legal" way to convert a float to an integer in C
|
12 years ago |
Roberto Ierusalimschy
|
e2c8c756ee
|
removed 'IEEE tricks' (should not be needed in Lua with integers)
|
12 years ago |
Roberto Ierusalimschy
|
a80a2b5e56
|
new cast macros for lua_Integer and lua_Unsigned
|
12 years ago |
Roberto Ierusalimschy
|
b559aed2d3
|
'l_tg' was renamed to 'l_mathop' and this use was not corrected at
the time
|
12 years ago |
Roberto Ierusalimschy
|
181a837cac
|
small improvement in the support of 'float' as lua_Number
|
12 years ago |
Roberto Ierusalimschy
|
d58ce8106e
|
macro 'lua_number2unsigned' also needs proper definition if
lua_Number is float
|
12 years ago |
Roberto Ierusalimschy
|
31f7d553e4
|
LUA_CORE condition removed from definition of some 'tricks' (as it
controlled only a few other defines) + MS_ASMTRICK renamed to
LUA_MSASMTRICK
|
12 years ago |
Roberto Ierusalimschy
|
5adb5a4812
|
definition for 'MAX_LMEM'
|
13 years ago |
Roberto Ierusalimschy
|
77cbd817d1
|
better(?) handling of '#define's for IEEE-related tricks + avoid using
IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines)
|
13 years ago |
Roberto Ierusalimschy
|
afc3fcf952
|
definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there)
|
13 years ago |
Roberto Ierusalimschy
|
a4b96ce9a3
|
first implementation of long strings
|
13 years ago |
Roberto Ierusalimschy
|
138be5b843
|
no more explicit support for 'luaall_c': unifying file can do
the work
|
13 years ago |
Roberto Ierusalimschy
|
51650eac78
|
small change to avoid warnings of non-specified order of access
to volatile fields
|
13 years ago |
Roberto Ierusalimschy
|
217e67cb22
|
new type 'l_noret' for function that do not return
|
13 years ago |
Roberto Ierusalimschy
|
9caf5b4f79
|
lint (unused definition)
|
13 years ago |
Roberto Ierusalimschy
|
d281d23f8d
|
detail (make 'lua_assert' a valid expression even when turned off)
|
13 years ago |
Roberto Ierusalimschy
|
5017cc6ba2
|
simpler 'luai_apicheck' (and avoids compilation error...)
|
14 years ago |
Roberto Ierusalimschy
|
3cf1729a02
|
new macro 'lua_longassert' that is equivalent to an assertion without
a stringfication of the condition, to avoid too long string literals
(limited by C90 to ~510 characters)
|
14 years ago |
Roberto Ierusalimschy
|
98816d0ce5
|
small problems with 'luaone.c'
|
14 years ago |
Roberto Ierusalimschy
|
f6bd8b1147
|
better control for GC running or stopped
|
14 years ago |
Roberto Ierusalimschy
|
0b3f4e254e
|
more efficient hash for numbers in IEEE754 machines
|
14 years ago |