Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-08-31 12:24:43


----- Original Message -----
From: <yahoo_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, August 31, 2001 8:25 AM
Subject: [boost] Re: to_python with c++ class??

> Hi Dave,
> what do you mean with:
> > Can you create the object from within the module?
>
> If I have to do it from within initmymodule() then I can't.
>
> If I can create the module_builder object outside initmodule e.g. as
> static var (calling the ordinary add methods from within initmymodule
> ())
> then I could export this object from my DLL and can subsequently
> issue calls to the add method from my app.
>
> Is this what you mean? Is my approach usable?

Maybe, I can't be sure. Why don't you try it?

> I don't have time to try it out by myself today, so if you know an
> answer, please respond, otherwise I'll try over the weekend.

Good plan!


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk