in reply to Re: Problem on perl callbacks from XS
in thread Problem on perl callbacks from XS

Yes, in fact, the complete code contains this:

int count; ... count = call_sv(..., G_SCALAR); assert(count==1);

which, AFAIK, should be "safe".