mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
Details
New year (2024->2025), typos in comments
This commit is contained in:
parent
3cdd49c94a
commit
2d8d5c74b5
15 changed files with 24 additions and 25 deletions
4
lgc.c
4
lgc.c
|
|
@ -242,7 +242,7 @@ static int iscleared (global_State *g, const GCObject *o) {
|
|||
** incremental sweep phase, it clears the black object to white (sweep
|
||||
** it) to avoid other barrier calls for this same object. (That cannot
|
||||
** be done is generational mode, as its sweep does not distinguish
|
||||
** whites from deads.)
|
||||
** white from dead.)
|
||||
*/
|
||||
void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) {
|
||||
global_State *g = G(L);
|
||||
|
|
@ -1089,7 +1089,7 @@ void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt) {
|
|||
** GCmarked: number of bytes that became old since last major collection.
|
||||
** GCmajorminor: number of bytes marked in last major collection.
|
||||
** * KGC_GENMAJOR
|
||||
** GCmarked: number of bytes that became old sinse last major collection.
|
||||
** GCmarked: number of bytes that became old since last major collection.
|
||||
** GCmajorminor: number of bytes marked in last major collection.
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue