At Wed, 19 Mar 2003 21:08:10 +0100, Gerald Richter wrote:
> PUSHMARK tells Perl where on the stack the argument for a sub starts.
> Because on the G_NOARGS it shouldn't be necessary here, so it seems more
> like a bug in Perl. Anyway most important is that it fixes the problem.
yes, I thought the same too - really the only reason I even tried it
was because the first example in perlcall did so while still using
G_NOARGS:
static void
call_PrintUID()
{
dSP ;
PUSHMARK(SP) ;
call_pv("PrintUID", G_DISCARD|G_NOARGS) ;
}
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]