Roberto Ierusalimschy
|
f83bc86e51
small "bugs" detected by Purify: some blocks may be smaller than
|
28 years ago |
Roberto Ierusalimschy
|
373363cb69
new name for old "mem.h" (conflicts with some compiler libraries)
|
28 years ago |
Roberto Ierusalimschy
|
a8a15ff1bd
"mem.c.debug" incorporated (with "#if").
|
28 years ago |
Roberto Ierusalimschy
|
f9deeac632
"luaI_malloc(s)" is just a macro to "luaI_realloc(NULL, s)".
|
29 years ago |
Roberto Ierusalimschy
|
a7ca46405d
unused "#include".
|
29 years ago |
Roberto Ierusalimschy
|
7a35f23c16
a simplification about memory error messages.
|
29 years ago |
Roberto Ierusalimschy
|
9284742a11
better control when growing arrays.
|
29 years ago |
Roberto Ierusalimschy
|
7236df875a
new function "luaI_buffer".
|
29 years ago |
Roberto Ierusalimschy
|
8c1a9899d4
functions "luaI_free" and "luaI_realloc" (or macro "growvector") may be
|
29 years ago |
Roberto Ierusalimschy
|
98fe770cab
small bug
|
29 years ago |
Roberto Ierusalimschy
|
e74b250d71
memory overflow tries a garbage collection; if it fails then exit the
|
29 years ago |
Roberto Ierusalimschy
|
b36cd823b1
header "string.h" was missing (gcc does not warn that)
|
30 years ago |
Roberto Ierusalimschy
|
f4591397da
strdup is done via mem.c to control its memory allocation
|
31 years ago |
Roberto Ierusalimschy
|
8cb8594a3b
better control of integer types and their limits
|
31 years ago |
Roberto Ierusalimschy
|
a5862498a1
set first position of a free block to -1, to catch errors
|
31 years ago |
Roberto Ierusalimschy
|
2b5bc5d1a8
new module for memory allocation
|
31 years ago |