in reply to Writing XS frontends to C++ libraries.
On your first question, C++ libraries mangle function names to attach an encoding of their agrument types. In that way, overloaded functions can be distinguished. Run the nm utility on a C++ lib to see examples. The c++filt does demangling.
The MySet class or type is not known to Perl without a little work. You need to produce a typemap to show perl what it is. Perhaps including its header in your h2xs run will suffice.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Writing XS frontends to C++ libraries.
by kilinrax (Deacon) on Sep 11, 2002 at 19:49 UTC | |
by blssu (Pilgrim) on Sep 11, 2002 at 20:52 UTC | |
by kilinrax (Deacon) on Sep 11, 2002 at 22:50 UTC |