From 9b01da97e3a8f2df9acbd3b86af50e4040e9d914 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 21 Oct 2024 15:30:35 -0300 Subject: Small bug in 'luaE_luaE_statesize' Plus, function was renamed to 'luaE_threadsize'. --- lgc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lgc.c') 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) { return luaF_protosize(gco2p(o)); } case LUA_VTHREAD: { - return luaE_statesize(gco2th(o)); + return luaE_threadsize(gco2th(o)); } case LUA_VSHRSTR: { TString *ts = gco2ts(o); -- cgit v1.2.3-55-g6feb