Roberto Ierusalimschy
|
abb2f5511d
detail ('b + base' -> 'base + b' to follow all other similar uses)
|
10 年之前 |
Roberto Ierusalimschy
|
fcc6e1220e
avoid expression with side effect (in debug mode) inside 'sizeof'
|
10 年之前 |
Roberto Ierusalimschy
|
3a91274547
details (avoid 'lint' warnings)
|
10 年之前 |
Roberto Ierusalimschy
|
f2a813ae10
details (avoid some 'lint' warnings)
|
10 年之前 |
Roberto Ierusalimschy
|
e723c75c02
details (avoid 'lint' warnings)
|
10 年之前 |
Roberto Ierusalimschy
|
b436ed58a3
'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which
|
10 年之前 |
Roberto Ierusalimschy
|
2b37f2150e
comments
|
10 年之前 |
Roberto Ierusalimschy
|
331632e8d8
code detail ('if' -> '?:')
|
10 年之前 |
Roberto Ierusalimschy
|
7d930ec694
use 'log2' when available
|
10 年之前 |
Roberto Ierusalimschy
|
0cf3b6495a
'ci_func' don't need to be exported
|
10 年之前 |
Roberto Ierusalimschy
|
b66fedadae
'lua_pushliteral' implemented with 'lua_pushstring' (to take
|
10 年之前 |
Roberto Ierusalimschy
|
fd6e680e21
detail
|
10 年之前 |
Roberto Ierusalimschy
|
57c0db219b
line history keep lines without added 'return'
|
10 年之前 |
Roberto Ierusalimschy
|
4ba0cb4580
always use macros to operate on lua_Numbers
|
10 年之前 |
Roberto Ierusalimschy
|
a30c66f0fc
macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameter
|
10 年之前 |
Roberto Ierusalimschy
|
bb4baa73ea
allocation function is not exactly API (and cannot raise errors
|
10 年之前 |
Roberto Ierusalimschy
|
d7d44b038d
detail (use 'lua_pushliteral' to push an empty string)
|
10 年之前 |
Roberto Ierusalimschy
|
297512b34c
avoid using 'lua_pushliteral' in a non-zero-terminated string
|
10 年之前 |
Roberto Ierusalimschy
|
2ae2e6408e
avoid testing for NULL when marking objects that cannot be NULL
|
10 年之前 |
Roberto Ierusalimschy
|
a80cada914
new cache for interning strings
|
10 年之前 |
Roberto Ierusalimschy
|
a00013c8d0
'point2int' -> 'point2uint' (to reflect its actual result type)
|
10 年之前 |
Roberto Ierusalimschy
|
b9a1f27250
do not attempt emergency collection while building state (it is
|
10 年之前 |
Roberto Ierusalimschy
|
29aed28802
detail (use 'luaS_newliteral' when possible)
|
10 年之前 |
Roberto Ierusalimschy
|
951b562cf8
configuration for numerical types through only one #define for
|
10 年之前 |
Roberto Ierusalimschy
|
6408bc0b7f
new macros 'chgfltvalue'/'chgivalue' (numerical for loop does
|
10 年之前 |
Roberto Ierusalimschy
|
91efb4b895
LUA_COMPAT_5_1 needs some options deprecated from 5.2 to 5.3
|
10 年之前 |
Roberto Ierusalimschy
|
27c5b1b237
added patches to two bugs
|
10 年之前 |
Roberto Ierusalimschy
|
d51bdc166d
bug: 'string.format("%f")' can cause a buffer overflow (with long doubles)
|
10 年之前 |
Roberto Ierusalimschy
|
81245b1ad5
'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old
|
10 年之前 |
Roberto Ierusalimschy
|
397ce11996
make 'hashfloat' configurable
|
10 年之前 |