This idea is probably totally naive as my understanding of the
exact mechanics of shared object libraries is still somewhat black
boxish.

Say I have a routine that takes a pointer to some C function. I define
a
shared object library of C function wrappers. Say it just has a C
function foo. Then set up some system
so that when I define foo in pyrex that shared object library gets
recompiled with the code from my pyrex foo (or so that function always
just calls the pyrex foo).  I always pass a C function pointer to foo
from the shared object library, however now each time the user defines
foo in pyrex, that is the foo that the pointer will point at. Now
everything is pure C the whole time.

Is there anything that would make this technically impossible.


--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to