[sage-devel] Re: SageX and C++ and pass-by-reference
Joel B. Mohler wrote: x[0] should do the trick (as it is equivalent to *x in C) and is the recommended way in the Pyrex documentation. But I used the deref trick so far. Yep, you said that in the slides in your SD3 talk. I didn't understand the point when I read the slides, but now that I see the need myself, it makes perfect sense. Thanks for repeating! -- Joel Sorry to be slightly off topic: CoCoALib 0.98 has been released to the public under the GPL V2. I wanted to get started with bindings and since it is a C++ library which also uses references extensively I would like to know if there is any material besides the givaro bindings and Martin's talk? I have to hack on linbox the next week so this work will certainly not be of high priority until I solve those problems. Then I will definitly spend more time on the integration with pyrex. Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: SageX and C++ and pass-by-reference
Martin Albrecht wrote: Hi, I have appended my original source of information, maybe you find this helpful. Thanks for the info. Should this be added to general SAGE documentation? I am sure once I am though/working on the code I will have additional suggestions. Also, (even more off-topic) as we are planing that I visit you in Dortmund in the next couple of weeks I should be a reasonable reference :-) Jep. I will take this offlist and email you later on today with some suggested dates. Martin Cheers, Michael SNIP --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: SageX and C++ and pass-by-reference
On Mar 15, 11:33 am, Michael Abshoff [EMAIL PROTECTED] wrote: Martin Albrecht wrote: Hi, I have appended my original source of information, maybe you find this helpful. Thanks for the info. Should this be added to general SAGE documentation? I am sure once I am though/working on the code I will have additional suggestions. +1 I have suggested that this be added to SAGE's Pyrex guide: http://sage.math.washington.edu:9002/sage_trac/ticket/88 didier --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---