Re: [C++-sig] Anyone have Py++ working on a Mac?

2009-09-29 Thread Roman Yakovenko
2009/9/30 Randolph Fritz : > As the title says. Do you have a problem? In the past, few people reported that they successfully used Py++ and pygccxml on this platform. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ __

[C++-sig] Anyone have Py++ working on a Mac?

2009-09-29 Thread Randolph Fritz
As the title says. ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig

[C++-sig] Installing Boost VC9.0Express and Python 2.5.2 - import PYD complains about python26.dll!!??

2009-09-29 Thread Bob Cumming
Hello, I'm new to this list and have been trying to install boost to workk with C++ code in python. I downloaded the boost 1.39 windows installer and that worked ok. I followed the tutorials I found online at boost and the python wiki. All seemed to go ok. In directory: C:\boost\boo

Re: [C++-sig] Boost Python objects and object identity

2009-09-29 Thread Pertti Kellomäki
Roman Yakovenko wrote: For example, you can expose "this" pointer to Python and use it as your id: Thanks, this sounds like what I was looking for. -- Pertti ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listin

Re: [C++-sig] Boost Python objects and object identity

2009-09-29 Thread Alex Mohr
Renato Araujo wrote: I had the same problem as you in my binding implementation, then I solve the problem using this function: // // a generator with an execute() function which, given a source type // and a pointer to an object of that type, returns its most-derived // /reachable/ type identifi

Re: [C++-sig] Boost Python objects and object identity

2009-09-29 Thread Roman Yakovenko
2009/9/29 Pertti Kellomäki : > I have Python bindings for a C++ library that among other > things contains classes for describing the static structure > of a microprocessor. > > My background is in Lisp, so I am used to using object > identities (references) as keys. The C++ library can > be used i

Re: [C++-sig] Boost Python objects and object identity

2009-09-29 Thread Renato Araujo
Hi Pertti I had the same problem as you in my binding implementation, then I solve the problem using this function: // // a generator with an execute() function which, given a source type // and a pointer to an object of that type, returns its most-derived // /reachable/ type identifier and objec

[C++-sig] Boost Python objects and object identity

2009-09-29 Thread Pertti Kellomäki
I have Python bindings for a C++ library that among other things contains classes for describing the static structure of a microprocessor. My background is in Lisp, so I am used to using object identities (references) as keys. The C++ library can be used in this fashion, e.g. looking up a registe

Re: [C++-sig] [Py++] Help with wrapping setter methods

2009-09-29 Thread Roman Yakovenko
On Tue, Sep 29, 2009 at 12:44 AM, Christopher Bruns wrote: > Please help.  I am just a beginner with pyplusplus and am not smart > enough to see how to create certain complex rules. > > How would I create a pyplusplus rule for setting the return policy to > "return internal reference" for all memb