hslua-marshalling uses PVP Versioning.
Relax upper bound for mtl, allow mtl-2.3.
Resultis now an instance of Foldable and Traversable. Both
Peekare made instances of
Updated to hslua-core-2.1.0.
Successconstructor of the
Resulttype is now strict; the
Failureconstructor remains lazy.
The stack is checked before pushing or retrieving nested structures: Pushing or peeking a deeply nested structure could lead an overflow of the Lua stack. The functions
pushKeyValuePairs, as well as
peekKeyValuePairsnow check that sufficient stack space is available before pushing another value to the stack.
toByteStringnow requires a slot on the stack if the value at the given index is a number. It checks for available space before pushing to the stack, returning
Nothingif no space is left on the stack.
withContextfunction is made more useful and now differs from
retrieving. The string “retrieving” is added to the error context by
withContextallows to define contexts without this prefix.
New convenience function
pushAsTable, making it easier to define a pusher function for values marshaled as tables.
pushIteratorto skip values: If the function that pushes the values of a list item signals that it didn’t push any values, then that value will be skipped.
Initially created. Contains modules previously found in the modules
Removed most functions from the Userdata module, incl. peekAny, pushAny. The functions don’t add much value over those in
HsLua.Core.Userdata. Use UDTypes from hslua-packaging for a more comfortable method of exposing data via userdata values.