diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-10-21 15:30:35 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-10-21 15:30:35 -0300 |
commit | 9b01da97e3a8f2df9acbd3b86af50e4040e9d914 (patch) | |
tree | 080785c60c93dde758af6c3e9a80291ecf4ae7aa /lgc.c | |
parent | 258355734d3aceb34eb6288ece37d9bbd7f2bc6d (diff) | |
download | lua-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |