|
Boost : |
From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2002-05-10 16:01:39
There are a few complete examples in the boost/lib/python/examples
directory:
One set is:
dvect.cpp
dvect.h
dvect_conversions.cpp
ivect.cpp
ivect.h
ivect_conversions.cpp
tst_dvect1.py
tst_dvect2.py
tst_ivect1.py
tst_ivect2.py
The other set is:
noncopyable.h
noncopyable_export.cpp
noncopyable_import.cpp
tst_noncopyable.py
Have you looked at these?
HOWEVER, this will all soon be obsolete. If you are just starting
it would be better if you use Boost.Python V2. In the new version
cross-module support is the default and it is complete.
You can find the (growing) V2 documentation in the directory
boost/libs/python/doc/v2
Ralf
--- Christos Nicolaou <Christos.Nicolaou_at_[hidden]> wrote:
> I am trying to get some cross-extension-module dependencies resolved. Is
> there a complete example posted somewhere. I've seen the documentation
> in boost.python for that specific issue but since I am new on this it's
> not really clear how the export/import_converters() are used.
>
> Thanks
> Christos
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk