
25 Sep
2008
25 Sep
'08
11:31 a.m.
Robert Dailey wrote:
On Wed, Sep 24, 2008 at 7:08 PM, Neal Becker
wrote: Robert Dailey wrote:
<snip>
How about: scope().attr("something") = whatever;
Where would this code go? What does scope() do?
You could put it here: BOOST_PYTHON_MODULE ... { scope().attr ("something") = 42;