in reply to Re^5: SvUV vs SvIV for pointers in SVs, typemap
in thread SvUV vs SvIV for pointers in SVs, typemap
The SV is not intended to be modifiable. It's just a container for an opaque value. The only "manipulation" being done is to cast the value back to a pointer.
Have you tried running Perl on a 32-bit system configured for /3GB?
No. Are you saying that sv = (SV*)(IV)sv fails then? If so, that's a bug. IV is guaranteed to be large enough to hold a pointer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: SvUV vs SvIV for pointers in SVs, typemap
by BrowserUk (Patriarch) on Feb 21, 2011 at 01:47 UTC | |
by ikegami (Patriarch) on Feb 21, 2011 at 01:52 UTC | |
by patcat88 (Deacon) on Feb 21, 2011 at 17:01 UTC | |
by ikegami (Patriarch) on Feb 21, 2011 at 19:36 UTC | |
by BrowserUk (Patriarch) on Feb 21, 2011 at 18:05 UTC |