Skip to content

Commit

Permalink
Add support for raw argument in header file
Browse files Browse the repository at this point in the history
  • Loading branch information
ccuser44 authored Jan 2, 2025
1 parent ba4b95a commit 780c703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VM/src/ltable.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ LUAI_FUNC void luaH_resizehash(lua_State* L, Table* t, int nhsize);
LUAI_FUNC void luaH_free(lua_State* L, Table* t, struct lua_Page* page);
LUAI_FUNC int luaH_next(lua_State* L, Table* t, StkId key);
LUAI_FUNC int luaH_getn(Table* t);
LUAI_FUNC Table* luaH_clone(lua_State* L, Table* tt);
LUAI_FUNC Table* luaH_clone(lua_State* L, Table* tt, bool raw);
LUAI_FUNC void luaH_clear(Table* tt);

#define luaH_setslot(L, t, slot, key) (invalidateTMcache(t), (slot == luaO_nilobject ? luaH_newkey(L, t, key) : cast_to(TValue*, slot)))
Expand Down

0 comments on commit 780c703

Please sign in to comment.