note
syphilis
This works as desired for me:
<c>
void modSV( SV *ref ) {
SV *sv = SvRV( ref );
unsigned __int64 uv = 9223372036854775809ull;
sv_setuv(sv, uv);
}
</c>
Outputs:
<c>
SV = IV(0x381af90) at 0x381afa0
REFCNT = 1
FLAGS = (PADMY,IOK,pIOK)
IV = 123
SV = IV(0x381af90) at 0x381afa0
REFCNT = 1
FLAGS = (PADMY,IOK,pIOK,IsUV)
UV = 9223372036854775809
</c>
Haven't yet investigated why/where your approach falls down.
<br><br>Cheers,<br>Rob
928011
928011