Skip to content

luabind compat, make_object for variant returns

Compare
Choose a tag to compare
@ThePhD ThePhD released this 03 May 21:28
· 1443 commits to develop since this release

This release adds a new function sol::make_object that will push a value and then create an object representing it, allowing a user to return multiple different types of things from a single function (e.g., for your own variant types). We don't explicitly support a variant until the std:: committee is done fighting over what they want.

Documentation has been updated.