diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-27 12:09:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-27 12:09:11 -0300 |
commit | 12b6f610b0f1b4157c04f0db264f1f1d0634709b (patch) | |
tree | 198881cf4ac938aa9082fe7781d575e359d9bf09 /lobject.h | |
parent | e81f586001d767c8de9b760ae2e2c3b5da1542c6 (diff) | |
download | lua-12b6f610b0f1b4157c04f0db264f1f1d0634709b.tar.gz lua-12b6f610b0f1b4157c04f0db264f1f1d0634709b.tar.bz2 lua-12b6f610b0f1b4157c04f0db264f1f1d0634709b.zip |
Several tweaks in the garbage collector
- back with step size in collectgarbage("step")
- adjustments in defaults for some GC parameters
- adjustments in 'luaO_codeparam'
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -427,8 +427,8 @@ typedef struct TString { | |||
427 | ** Get string and length */ | 427 | ** Get string and length */ |
428 | #define getlstr(ts, len) \ | 428 | #define getlstr(ts, len) \ |
429 | (strisshr(ts) \ | 429 | (strisshr(ts) \ |
430 | ? (cast_void(len = (ts)->shrlen), rawgetshrstr(ts)) \ | 430 | ? (cast_void((len) = (ts)->shrlen), rawgetshrstr(ts)) \ |
431 | : (cast_void(len = (ts)->u.lnglen), (ts)->contents)) | 431 | : (cast_void((len) = (ts)->u.lnglen), (ts)->contents)) |
432 | 432 | ||
433 | /* }================================================================== */ | 433 | /* }================================================================== */ |
434 | 434 | ||