Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Interfacing C++ and Perl seems to be a somewhat underdocumented subject; so far I have only managed to find the following:
If anyone can suggest a better forum for this, or source of documentation specific to what I'm trying to do, when please tell me. If not, and you have any experience of what I'm trying to do, read on ... I've been comsistently encountering two errors - one of which occurs whenever I try and access an overloaded method, e.g:
The second occurring when accessing methods which return an object of a differing class to the owner of the method, e.g Produces the error:
I've tried googling for '"cannot convert `RETVAL' from type `MySet"', which turns up absolutely no results; and '"no matching function for call to" XS', which turns up ones of little relevance. Anyone know how to deal with these problems? n.b. Before anyone suggests it, I have tried generating the XS code with SWIG, but had even less success with it. In reply to Writing XS frontends to C++ libraries. by kilinrax
|
|