Skip to content

Releases: goatshriek/wrapture

v0.5.0

15 Dec 21:19
1975fa4
Compare
Choose a tag to compare

Fixed

  • Return values are now properly declared, captured, and returned as needed.
  • bin/wrapture now checks the version number of specs it processes.

Removed

  • Ruby 2.3 is no longer supported.

v0.4.2

05 Dec 14:14
860c67a
Compare
Choose a tag to compare

Fixed

  • Functions that return function pointers now cast the return correctly instead
    of containing non-valid code
    (issue #76).
  • Return value types are now valid types when they are given using a special
    keyword in the spec, such as equivalent-struct-pointer. The types are now
    resolved based on the keyword if one is used
    (issue #77).
  • The list Wrapture::KEYWORDS now contains the value in
    Wrapture::SELF_REFERENCE_KEYWORD.
  • throw-exception actions with no parameters for the constructor no longer
    cause an error
    (issue #78).
  • Return values are correctly switched to the equivalent struct in
    constructors instead of using return_val, which was not actually set
    (issue #84).