in reply to Re^7: perl inline::c sorting problem (implicit coercion)
in thread perl inline::c sorting problem
Cheers,#define IIII(sv) (SvIOK(sv) ? SvIV(sv) : SvNV(sv)) #define UUUU(sv) (SvUOK(sv) ? SvUV(sv) : SvNV(sv)) void test2 ( SV *sv ) { double d = IIII( sv ); double d2 = UUUU( sv ); return; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: perl inline::c sorting problem (implicit coercion)
by BrowserUk (Patriarch) on May 03, 2009 at 10:41 UTC |