in reply to Re^3: Passing undef to XSUB
in thread Passing undef to XSUB
I don't know much about XS, but I wonder if this code is able to distinguish between when it's passed undef and when it's passed 0. That is, can it see the difference between foo( undef, undef ) and foo( 0, 0 )? It seems to me the "uninitialized value" warning is undef getting turned into 0.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Passing undef to XSUB
by syphilis (Archbishop) on May 08, 2008 at 07:57 UTC |