in reply to XS: returning a 64-bit unsigned int?
Outputs:void modSV( SV *ref ) { SV *sv = SvRV( ref ); unsigned __int64 uv = 9223372036854775809ull; sv_setuv(sv, uv); }
Haven't yet investigated why/where your approach falls down.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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XS: returning a 64-bit unsigned int?
by BrowserUk (Patriarch) on Sep 27, 2011 at 06:53 UTC | |
by ikegami (Patriarch) on Sep 27, 2011 at 07:27 UTC | |
by BrowserUk (Patriarch) on Sep 27, 2011 at 07:31 UTC | |
by ikegami (Patriarch) on Sep 27, 2011 at 07:56 UTC |