All the examples in perlxs are done with PUSHs. However, if you try
PUSHi, you will find that targ is not initialized.
One needs either patched xsubpp, which will do dTARG, or patched
docs. I prefer the first, since there should be no overhead with
optimization on.
Ilya
PUSHi, you will find that targ is not initialized.
One needs either patched xsubpp, which will do dTARG, or patched
docs. I prefer the first, since there should be no overhead with
optimization on.
Ilya