Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SvIV_nomg(), SvUV_nomg(), SvNV_nomg() and SvTRUE_nomg() #128

Merged
merged 1 commit into from
Jul 17, 2019

Commits on Jul 12, 2019

  1. Implement SvIV_nomg(), SvUV_nomg(), SvNV_nomg() and SvTRUE_nomg()

    Use sv_mortalcopy_flags() macro with SV_NOSTEAL flag to create non-magical
    copy of input scalar. And on this non-magical copy call original Perl's
    SvIV/SvUV/SvNV/SvTRUE macro.
    
    This would ensure that get magic is not processed on original input scalar
    argument and also that correct value is returned.
    pali committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    62f80c4 View commit details
    Browse the repository at this point in the history