in reply to Re^6: panic: memory wrap
in thread panic: memory wrap
call_sv takes everything on the stack back to the last mark as the args for the function call. Even with no args, you need to push a mark.int record( SV *m ) { PUSHMARK(SP); XPUSHs(m); PUTBACK; call_sv( g_rec, G_VOID ); return 0; }
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: panic: memory wrap
by BrowserUk (Patriarch) on Nov 15, 2005 at 01:06 UTC | |
|
Re^8: panic: memory wrap
by Will_the_Chill (Pilgrim) on Dec 23, 2013 at 12:14 UTC |