shouldn't pointers be SvUV not SvIV?
On 32-bit OSs they certainly should be. Whilst out-of-the-box, 32-bit OSs only provide user space programs with access to the lower 2GB of ram; most if not all of them can push that upto 3GB with the appropriate build or start-up options.
And at that point using signed math on pointers could render incorrect results.
In reply to Re: SvUV vs SvIV for pointers in SVs, typemap
by BrowserUk
in thread SvUV vs SvIV for pointers in SVs, typemap
by patcat88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |