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.
In reply to Re^6: SvUV vs SvIV for pointers in SVs, typemap
by ikegami
in thread SvUV vs SvIV for pointers in SVs, typemap
by patcat88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |