Skip to content
Snippets Groups Projects
Commit c452cb5b authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Lua: implement tuple iterators and methods.

Add tuple::pairs() and tuple:next() implementation.

Update tuple metatable __index implementation to do
method lookup.

Fix a bug in box.unpack() where we wouldn't check that
lua_tolstring() can return NULL (which happens if nil
is on the stack).

Add tests.
parent 93751d3f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment