Re: Calling Objective-C++ code

Douglas Roark <[email protected]> Tue, 22 Jul 2014 10:00:12 -0400
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <CAH=+FUg7Pz_12yaYr4FukGBnUuFhFMEfu5rrqq6QGVS2TED_5A@mail.gmail.com>
Hello all. Sorry about the formatting of my last email. I used the
wrong address the first time, got lazy, and just hit "Forward." :)
Anyway....

On Tue, Jul 22, 2014 at 2:56 AM, Ronald Oussoren <[email protected]> wrote:
> The PyObjC core reads information about classes and methods using the Objective-C runtime
> API, generally that information is enough to access Objective-C code from Python. That should
> also work for Objective-C++ code, as long as you only try to use Objective-C classes (the @interface stuff)
> and don’t use C++ classes in method signatures (so no methods that return a vector<int>).

I'd like to use the C++ classes, so it looks like I'll need to take a
crack at SIP or SWIG. If I manage to work all that out, I'll report
back here with some code so that others can learn from my mistakes.
(If not, well, it looks like I'll be taking a crash course in porting
C++ to Objective-C.)

Thanks for the help!

D

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Pyobjc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev