Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Implement C++ callback in XS

by nite_man (Deacon)
on Oct 20, 2014 at 07:06 UTC ( [id://1104379]=perlquestion: print w/replies, xml ) Need Help??

nite_man has asked for the wisdom of the Perl Monks concerning the following question:

Hi! I need your help and/or suggestions regarding to implementation of Perl wrap for C++ API. How can I implement the C++ callback? There is a callback in API. It works fine with the XS code expect it doesn't call Perl callback function to trigger it in Perl app. Any help will be very appreciated!

---
Michael Stepanov aka nite_man

It's only my opinion and it doesn't have pretensions of absoluteness!

Replies are listed 'Best First'.
Re: Implement C++ callback in XS
by Anonymous Monk on Oct 20, 2014 at 07:23 UTC
Re: Implement C++ callback in XS
by jmlynesjr (Deacon) on Oct 20, 2014 at 17:59 UTC

    There's also a tutorial on the wxPerl wiki - "Internals - Introduction to Wx XS Wrappers by Mark" http://wiki.wxperl.nl

    James

    There's never enough time to do it right, but always enough time to do it over...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1104379]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2024-04-16 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found