mirror of
https://github.com/lua/lua
synced 2025-02-06 16:24:21 +03:00
Roberto Ierusalimschy
b80077b8f3
Change in the handling of 'L->top' when calling metamethods
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'.)
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
67.4%
Lua
32%
Makefile
0.6%