Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Implement C++ callback in XS

by nite_man (Deacon)
on Oct 20, 2014 at 07:06 UTC ( #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 (Chaplain) 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
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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2021-06-13 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (57 votes). Check out past polls.

    Notices?