in reply to SvUV vs SvIV for pointers in SVs, typemap
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SvUV vs SvIV for pointers in SVs, typemap
by ikegami (Patriarch) on Feb 20, 2011 at 20:53 UTC | |
by BrowserUk (Patriarch) on Feb 20, 2011 at 21:26 UTC | |
by ikegami (Patriarch) on Feb 20, 2011 at 23:12 UTC | |
by BrowserUk (Patriarch) on Feb 21, 2011 at 01:10 UTC | |
by ikegami (Patriarch) on Feb 21, 2011 at 01:32 UTC | |
|