in reply to Re^10: Perl calls C calls Perl CallBack: How Perl callback use the same interpreter/context as Perl caller?
in thread Perl calls C calls Perl CallBack: How Perl callback use the same interpreter/context as Perl caller?
/* Your C function declarations */ int foo(pTHX) { ... } int bar(pTHX_ int a) { ... } /* In your XS code */ int foo_result = foo(aTHX); int bar_result = bar(aTHX_ 21);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Perl calls C calls Perl CallBack: How Perl callback use the same interpreter/context as Perl caller?
by itamarat (Acolyte) on Jul 09, 2014 at 08:18 UTC | |
by Corion (Patriarch) on Jul 09, 2014 at 08:21 UTC | |
by salva (Canon) on Jul 09, 2014 at 08:52 UTC |