Roberto Ierusalimschy
|
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
|
10 anni fa |
Roberto Ierusalimschy
|
17ee57f8e0
'iswhite' and related macros now can work directly on any object
|
11 anni fa |
Roberto Ierusalimschy
|
bb12903120
type 'Udata' refers directly to structure inside the union (union
|
11 anni fa |
Roberto Ierusalimschy
|
ca41b43f53
type 'TString' refers directly to the structure inside the union
|
11 anni fa |
Roberto Ierusalimschy
|
56137d58ff
added check for conversion 'obj2gco' (and corrections for small
|
11 anni fa |
Roberto Ierusalimschy
|
14929f5764
use appropriate macros to convert GCObject to specific types
|
11 anni fa |
Roberto Ierusalimschy
|
f61ceee708
LUAI_FUNC is being used only in header files
|
11 anni fa |
Roberto Ierusalimschy
|
2f5f77788f
removed function 'luaS_eqstr' (not used anywhere)
|
11 anni fa |
Roberto Ierusalimschy
|
c86b9da022
userdata can have any Lua value as uservalue
|
11 anni fa |
Roberto Ierusalimschy
|
6ca7b63bce
check for shrinking string table done only at the end of a GC cycle
|
12 anni fa |
Roberto Ierusalimschy
|
1150873447
'luaC_newobj' does not handle special cases; only special case
|
12 anni fa |
Roberto Ierusalimschy
|
d3bbb34c24
back to open hashing for the string table (but with a different
|
12 anni fa |
Roberto Ierusalimschy
|
9a871dd3db
tables and userdata all go to local list, too
|
12 anni fa |
Roberto Ierusalimschy
|
90972ff136
LOCALBLACK changed to LOCALMARK and used also to control whether object
|
12 anni fa |
Roberto Ierusalimschy
|
50955e27f5
C functions and strings now go to the local list; first version
|
12 anni fa |
Roberto Ierusalimschy
|
33c49f7fa0
some details over new implementation of string table
|
12 anni fa |
Roberto Ierusalimschy
|
ae800656c9
change in string table: string table is now independent of GC lists; all
|
12 anni fa |
Roberto Ierusalimschy
|
677d90165f
no more generational collection !!!
|
12 anni fa |
Roberto Ierusalimschy
|
130c0e40e0
new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible
|
12 anni fa |
Roberto Ierusalimschy
|
0730a56d38
detail
|
12 anni fa |
Roberto Ierusalimschy
|
84b6581287
cast to avoid warning in some compilers (size_t x unsigned int)
|
13 anni fa |
Roberto Ierusalimschy
|
c2361e0b61
definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important)
|
13 anni fa |
Roberto Ierusalimschy
|
cfbe2333a4
string hash may not use all bytes (but this is configurable now) +
|
13 anni fa |
Roberto Ierusalimschy
|
678c1255c9
random seed used in the hash of all strings to avoid intentional
|
13 anni fa |
Roberto Ierusalimschy
|
a4b96ce9a3
first implementation of long strings
|
13 anni fa |
Roberto Ierusalimschy
|
291f564485
field 'reserved' -> 'extra' (may be used for other purposes too)
|
13 anni fa |
Roberto Ierusalimschy
|
ad2531a0ee
more complete (and hopefuly more correct) handling of 'sizeof(char)'
|
14 anni fa |
Roberto Ierusalimschy
|
1c1a98e872
corrected some places where an old object could end up in front
|
15 anni fa |
Roberto Ierusalimschy
|
f80ff7a336
'luaS_new' changed from macro to function
|
15 anni fa |
Roberto Ierusalimschy
|
0bbdddc86b
allocator function receives the tag of object being allocated in 'osize'
|
15 anni fa |