diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-08-31 12:37:57 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-08-31 12:37:57 -0400 |
commit | 15db5010a0330bcb2ca2d0e4125ac3374f22b9cf (patch) | |
tree | f8c8ab28e3d9e6f305c6ee25f7b6da01781e8b8b /indra/llrender/lluiimage.h | |
parent | 23f0aafb74551a741de8c87d62d74e7c6cee8b01 (diff) |
Make global pairs(), ipairs() honor metamethods.
Specifically, make pairs(obj) honor obj's __iter() metamethod if any.
Make ipairs(obj) honor obj's __index() metamethod, if any. Given the semantics
of the __index() metamethod, though, this only works for a proxy table if the
proxy has no array entries (int keys) of its own.
Diffstat (limited to 'indra/llrender/lluiimage.h')
0 files changed, 0 insertions, 0 deletions