mirror of
https://github.com/lua/lua.git
synced 2026-07-11 16:38:55 +00:00
Instead of updating 'L->top' in every place that may call a metamethod, the metamethod functions themselves (luaT_trybinTM and luaT_callorderTM) correct the top. (When calling metamethods from the C API, however, the callers must preserve 'L->top'.)
12 KiB
12 KiB