On Sat, Apr 3, 2010 at 11:53 AM, troy d. straszheim wrote:
> BOOST_PYTHON_MODULE(mod)
> {
> def("sayhello", as( &sayhello ));
> // arg converter ^
> };
>
> The as<> might need some clarification
Thanks Troy for the helpful tip.
I'm still confused by the "as<>" symbol. I
On Sat, Apr 3, 2010 at 8:54 PM, Ralf W. Grosse-Kunstleve wrote:
>> // C++ API
>> struct Foo {
>> Foo(ostream& os);
>> };
>>
>> # desired python usage
>> foo = Foo(streambuf(sys.stdout))
>
> Did you already try the usual
>
> def(init((arg("os"
Yes. Well pretty close. Py++ code generator
Christopher Bruns wrote:
On Sat, Apr 3, 2010 at 11:53 AM, troy d. straszheim wrote:
BOOST_PYTHON_MODULE(mod)
{
def("sayhello", as( &sayhello ));
// arg converter ^
};
The as<> might need some clarification
Thanks Troy for the helpful tip.
I'm still confused by the "
Hi Troy,
On Sunday 04 April 2010 16:16:46 troy d. straszheim wrote:
> The boost.python code behind this is
> in a separate repository, here:
>
>git://gitorious.org/~straszheim/boost/straszheims-python.git
>
> The code has diverged quite a bit from trunk boost.python by now.
> I was only pl
Ravi wrote:
Hi Troy,
On Sunday 04 April 2010 16:16:46 troy d. straszheim wrote:
The boost.python code behind this is
in a separate repository, here:
git://gitorious.org/~straszheim/boost/straszheims-python.git
The code has diverged quite a bit from trunk boost.python by now.
I was only p
On Mon, Apr 5, 2010 at 2:29 AM, troy d. straszheim > - Get all that
implemented separate from boost trunk, beat on it at length,
> including having "power users" actually try it with their production apps:
> py++, TnFOX, my physics stuff, etc.
I don't have a lot of free time these days, neverthel