Re: [pygccxml-development] Tag for Methods to bind ?
Brought to you by:
mbaas,
roman_yakovenko
From: Damien F. <dam...@mo...> - 2008-07-07 19:16:16
|
there is an other issue that I have been wondering how to solve . our lib use IMath Internally to store and manipulate math objects ( vector , matrix , etc ) I could;t find boostBinding of Imath , I guess we are gonna try to create one using lovely py++ but in the mean time we already have wrapper for those class for our other binding to Lua ( Vector , Matrix etc ) those type easy construct with there repective Imath Type . my question is if I have a methode like void setTransform( Imath::m44f & mat ); could I define automatic converter like : bp::converter< Mattrix , Imath::m44f , myConvertionFunction > maybe this is more a boostPython question ? I am kindda new to that too ;) and then how would I register that to py++ , using the add_code_registration() ? thanks Damien -----Original Message----- From: Roman Yakovenko [mailto:rom...@gm...] Sent: Mon 7/7/2008 7:57 PM To: Ben Schleimer Cc: Damien Fagnou; pyg...@li... Subject: Re: [pygccxml-development] Tag for Methods to bind ? On Mon, Jul 7, 2008 at 9:46 PM, Ben Schleimer <bsc...@lu...> wrote: > I just found the code. >... > I was really, really happy with this approach but it couldn't happen > (yet!) for various reasons. :( If it is not a secret can you share them? Thank you. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |