jettero has asked for the wisdom of the Perl Monks concerning the following question:
I happilly entered that into my .xs file thinkin' that would actually work. *giggle*void funky(void (*f)(void)) { // some things .. and an execution of *f }
Is there any way to do this? Will this actually work if I pass in a perl function pointer?void funky(f) void (*f)(void)
thingy::funky(\&this_works); # ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XS N' void (*f) (void)
by jettero (Monsignor) on Jul 30, 2000 at 21:02 UTC | |
by tye (Sage) on Dec 23, 2000 at 03:15 UTC |