On Sat, Jun 27, 2009 at 11:58 PM, Bjarke Hammersholt Roune<bjarke.ro...@gmail.com> wrote: > > In working on the Frobby interface, I needed to use the type mpz_ptr > that MPIR/GMP defines. This type is not defined for Cython in sage/ > libs/gmp/types.pxd, which is the file that defines mpz_t and friends. > This is probably because mpz_ptr, while convenient, is not part of the > official GMP interface (I don't know about MPIR). > > I made my own defininition to make Frobby work. Should I add this > unofficial type to sage/lib/gmps/types.pxd?
I can't see why not. There's no harm. And indeed, this is because it isn't an official part of the interface, since I think I wrote types.pxd based on the GMP docs. William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---