[maemo-developers] [maemo-developers] Python extension of C++ in Maemo

From: Jack Jansen Jack.Jansen at cwi.nl
Date: Mon Sep 18 10:54:33 EEST 2006
On 18-sep-2006, at 8:38, Winston Wu wrote:

> Hi all,
> I'm wondering if any has a good pointer for how to write Python  
> extension of C++ in Maemo.  What I want to do is pretty similar to  
> what's described in this discussion: http://www.velocityreviews.com/ 
> forums/t353864-calling-c-function-from-python-script.html. The  
> problem for me is that it requires SWIG wrapper library, which I  
> don't know how to make it work with Maemo.  Is there another  
> wrapper that works with Maemo?

I think you can pre-generate the wrappers on any platform, then you  
only need to compile them for Maemo. The same is probably true for  
other wrapper generators such as sip. I know it's true for my own  
bgen wrapper generator, but as the C++ support isn't ready for prime  
time yet I won't offer it as an alternative:-)
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2255 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20060918/24b4bdbc/attachment.bin 
More information about the maemo-developers mailing list