On Wed, Apr 14, 2010 at 1:52 PM, vishal bayskar <vishal.bays...@nechclst.in> 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) > what exactly I need to do. > > Do I need to write wrapper myself and insert it into the wrapper code > generated by py++ / I should use some interface to register my custom smart > pointer?
http://language-binding.net/_downloads/smart_ptrs.zip contains a working example. You can download it and study. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig