[C++-sig] Re: extracting C++ objects

David Abrahams dave at boost-consulting.com
Mon Jul 19 00:24:24 CEST 2004

James Mastro <jmastro at rochester.rr.com> writes:

> Hello again list. I'm back in the boost.python game after a number of
> months off, this time on Win XP.
> I want to be able to create Python instances from C++. These Python
> instances hold wrapped C++ instances that I want to extract. For example,
> I have a class called SomeObject that holds a wrapped C++ class called
> MyPoint which is it's location onscreen. MyPoint is a class holding a
> double for both x and y. Here's the Python code:
> import
> JimsModule<x-tab>       </x-tab>#where
> the wrapped MyPoint is

<snip garbage>

Jim, I think you'd better try posting in plaintext.

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list