Skip to content

feature(hlua): multiple return values

Alexey Protsenko requested to merge feature/hlua-multi-ret into master

Closes #26 (closed)

LuaFunction::call and LuaFunction::call_with_args have been updated to support multiple return values.

If rust expects fewer values than there are, it only gets the one it needs.

If rust expects more values than there are, it's an error, unless those types are Option

Edited by Alexey Protsenko

Merge request reports