aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-10-21 15:30:35 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-10-21 15:30:35 -0300
commit9b01da97e3a8f2df9acbd3b86af50e4040e9d914 (patch)
tree080785c60c93dde758af6c3e9a80291ecf4ae7aa /lgc.c
parent258355734d3aceb34eb6288ece37d9bbd7f2bc6d (diff)
downloadlua-9b01da97e3a8f2df9acbd3b86af50e4040e9d914.tar.gz
lua-9b01da97e3a8f2df9acbd3b86af50e4040e9d914.tar.bz2
lua-9b01da97e3a8f2df9acbd3b86af50e4040e9d914.zip
Small bug in 'luaE_luaE_statesize'
Plus, function was renamed to 'luaE_threadsize'.
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lgc.c b/lgc.c
index a43cc6a8..7922bc08 100644
--- a/lgc.c
+++ b/lgc.c
@@ -132,7 +132,7 @@ static size_t objsize (GCObject *o) {
132 return luaF_protosize(gco2p(o)); 132 return luaF_protosize(gco2p(o));
133 } 133 }
134 case LUA_VTHREAD: { 134 case LUA_VTHREAD: {
135 return luaE_statesize(gco2th(o)); 135 return luaE_threadsize(gco2th(o));
136 } 136 }
137 case LUA_VSHRSTR: { 137 case LUA_VSHRSTR: {
138 TString *ts = gco2ts(o); 138 TString *ts = gco2ts(o);