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
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
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
> 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
On 11/05/2010 10:19 PM, Robert Bradshaw wrote:
> On Fri, Nov 5, 2010 at 6:12 PM, Martin Albrecht
> wrote:
>> in the Sage library we cannot write the following C++ code:
>>
>> Class a = Class()
>>
>> since Cython turns the statement
>>
>> cdef Class a = Class()
>>
>> into
>>
>> Class a
>> a = C
On Fri, Nov 5, 2010 at 6:12 PM, Martin Albrecht
wrote:
> Hi there,
>
> in the Sage library we cannot write the following C++ code:
>
> Class a = Class()
>
> since Cython turns the statement
>
> cdef Class a = Class()
>
> into
>
> Class a
> a = Class()
>
> which only works when there is a copy