> 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 merged into Sage):
> >    cdef Class *a = new Class()
> >    del a

That is awesome!

> > What we use in Sage is probably buried in some .h file. I think the
> > official term is "placement new" where we allocate a chunk of the
> > Python object struct to hold the data.

Cheers,
Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://martinralbrecht.wordpress.com/
_jab: martinralbre...@jabber.ccc.de

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to