Re: Re: [sage-devel] A C++ Question

2010-11-10 Thread William Stein
On Sat, Nov 6, 2010 at 12:20 PM, Martin Albrecht wrote: > Hi, > > turns out in order to use the cool new Cython 0.13 C++ features > >    http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html > > one has to patch Sage's setup.py slightly, see: > >    http://trac.sagemath.org/sage_trac/ticket

Re: Re: [sage-devel] A C++ Question

2010-11-06 Thread Robert Bradshaw
On Sat, Nov 6, 2010 at 12:20 PM, Martin Albrecht wrote: > Hi, > > turns out in order to use the cool new Cython 0.13 C++ features > >    http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html > > one has to patch Sage's setup.py slightly, see: > >    http://trac.sagemath.org/sage_trac/ticket

Re: Re: [sage-devel] A C++ Question

2010-11-06 Thread Martin Albrecht
Hi, turns out in order to use the cool new Cython 0.13 C++ features http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html one has to patch Sage's setup.py slightly, see: http://trac.sagemath.org/sage_trac/ticket/10230 Robert, can you take a look and review it? It would be great

Re: Re: [sage-devel] A C++ Question

2010-11-06 Thread Martin Albrecht
> I'm not a guru, but is it defined in > > SAGE_ROOT/devel/sage/c_lib/include/ccobject.h > > ? Both ntl_wrap.h and pb_wrap.h include this file. Doh, how could I miss that. Thanks! > > If heap-allocated instances are fast enough, you can use the much > > > > easier C++ support (recently merge