Roberto Ierusalimschy
|
063d4e4543
Lua 5.3.5 ported to git
|
6 years ago |
Roberto Ierusalimschy
|
eb45f3a9b6
details in 'luaM_reallocvchar'
|
10 years ago |
Roberto Ierusalimschy
|
6321041058
new macro 'luaM_reallocvchar' to allocate arrays of chars (avoids
|
10 years ago |
Roberto Ierusalimschy
|
ffe7401ceb
avoid warnings in macro 'luaM_reallocv' + comments
|
10 years ago |
Roberto Ierusalimschy
|
d0c038da07
typo in comment
|
12 years ago |
Roberto Ierusalimschy
|
f993771c70
avoids warning with 'clang' + comment explaining macro
|
12 years ago |
Roberto Ierusalimschy
|
ca9c405fef
some compilers (e.g., gcc C++) do not accept NULL as a pointer in
|
13 years ago |
Roberto Ierusalimschy
|
e21b26a964
avoid 'return' "to avoid warnings"
|
13 years ago |
Roberto Ierusalimschy
|
055104f5b6
keep memory-error message in the global state, so that its use
|
15 years ago |
Roberto Ierusalimschy
|
0bbdddc86b
allocator function receives the tag of object being allocated in 'osize'
|
15 years ago |
Roberto Ierusalimschy
|
c6b442bd36
'luaM_freearray' does not need array type as argument
|
16 years ago |
Roberto Ierusalimschy
|
08f902cf49
better documentation for auxiliary functions (that should be called only
|
18 years ago |
Roberto Ierusalimschy
|
bd869c7b31
details
|
19 years ago |
Roberto Ierusalimschy
|
8718fda9b2
added LUAI_FUNC to functions not in the API
|
20 years ago |
Roberto Ierusalimschy
|
2cbd9eecfb
try to avoid warnings
|
20 years ago |
Roberto Ierusalimschy
|
97e2dab1fb
better control of overflows in size computations
|
20 years ago |
Roberto Ierusalimschy
|
0e002005b1
better names for `luaM_free...' macros
|
20 years ago |
Roberto Ierusalimschy
|
6f1ea817f5
better control over memory-size overflows
|
20 years ago |
Roberto Ierusalimschy
|
751cd867d3
new way to handle errors
|
23 years ago |
Roberto Ierusalimschy
|
72659a0605
no more explicit support for wide-chars; too much troble...
|
24 years ago |
Roberto Ierusalimschy
|
4d0935ec0f
better definition for `luaM_freelem'
|
24 years ago |
Roberto Ierusalimschy
|
e1d072571e
better syntax for type casts
|
24 years ago |
Roberto Ierusalimschy
|
39b7978329
first (big) step to support wide chars
|
24 years ago |
Roberto Ierusalimschy
|
099442c41f
better separation between basic types
|
24 years ago |
Roberto Ierusalimschy
|
426d3e43bd
lock/unlock may use L + better structure for internal debug stuff
|
24 years ago |
Roberto Ierusalimschy
|
0183b8030c
`free' gets size of the block: complete control over memory use
|
24 years ago |
Roberto Ierusalimschy
|
8c49e19865
explicit control of size for growing vectors
|
24 years ago |
Roberto Ierusalimschy
|
96253ed8ce
better support for 64-bit machines (avoid excessive use of longs)
|
25 years ago |
Roberto Ierusalimschy
|
37e9c2e744
macro DEBUG renamed to LUA_DEBUG
|
25 years ago |
Roberto Ierusalimschy
|
397905ef86
(much) better handling of memory alloction errors
|
25 years ago |