[C++-sig] Re: Exposing C++ objects to Python at runtime
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Mon Nov 24 22:13:12 CET 2003
--- Jonathan Warrington <jon at shirwin.com> wrote:
> Hmm, I don't think I made what I was looking for quite clear enough,
> sorry. What I'd like to do, is register classes, and functions without
> using the Boost.Python macros, as I don't want to have Boost.Python
> dependencies in my other code. I want to keep those dependencies in an
> wrapper, and not expose Python or anything to the other developers.
That's what Boost.Python is designed for: non-intrusive wrapping. Macros are
not used very much. Most of the work is done with templates.
I am afraid I still don't know what your actual question is. Did you already
work through some simple examples? The tutorial is a very good starting point.
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
More information about the Cplusplus-sig