On Wed, Apr 14, 2010 at 5:15 PM, vishal bayskar > Thanks Roman for
your guidance, I have studied the example and also
> succesfully used it in python script.
> My next doubt is how did you generate the binding.cpp, becouse I also tried
> to generate this binding from classes.hpp file by below py++
>http://language-binding.net/_downloads/smart_ptrs.zip contains a
>working example. You can download it and study.
Thanks Roman for your guidance, I have studied the example and also
succesfully used it in python script.
My next doubt is how did you generate the binding.cpp, becouse I also tried
On Wed, Apr 14, 2010 at 1:52 PM, vishal bayskar
wrote:
> Hi Roman,
>
> Thanks for reply. If possible can you please guide me how to "teach"
> Boost.Python about the custom SmartPtr. I have seen the link as suggested by
> you but I am not getting much idea (may be because I am new in this area)
> w
>You should not export export "SmartPtr" class as is. You can "teach"
>Boost.Python to understand that an object is the instance of SmartPtr
>class and it will handle for you and your users "operator*" and
>"operator->".
>The following example (
>http://language-binding.net/pyplusplus/troublesho
On Wed, Apr 14, 2010 at 10:25 AM, vishal bayskar
wrote:
>
> Hi I have a requirement of using dereferencing pointer, like in the below
> code
>
>...
>
> Below warnings displayed. Looking at warnings it seems like operator -> is
> not supported in pyplusplus.
>
> If operator -> is not supported then