mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
Fix size of userdata metatable array (#1366)
Fix udatamt array to use the correct limit for tagged userdata.
This commit is contained in:
parent
bfad1fa777
commit
9dc299ecaf
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ typedef struct global_State
|
||||||
lua_ExecutionCallbacks ecb;
|
lua_ExecutionCallbacks ecb;
|
||||||
|
|
||||||
void (*udatagc[LUA_UTAG_LIMIT])(lua_State*, void*); // for each userdata tag, a gc callback to be called immediately before freeing memory
|
void (*udatagc[LUA_UTAG_LIMIT])(lua_State*, void*); // for each userdata tag, a gc callback to be called immediately before freeing memory
|
||||||
Table* udatamt[LUA_LUTAG_LIMIT]; // metatables for tagged userdata
|
Table* udatamt[LUA_UTAG_LIMIT]; // metatables for tagged userdata
|
||||||
|
|
||||||
TString* lightuserdataname[LUA_LUTAG_LIMIT]; // names for tagged lightuserdata
|
TString* lightuserdataname[LUA_LUTAG_LIMIT]; // names for tagged lightuserdata
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue