At Thu, 15 Feb 2007 06:44:58 -0900, Britton Kerin wrote: > > It would be nice if GSL had a call to allow clients to set the > malloc/realloc/free > used, like glib does: > > http://developer.gnome.org/doc/API/2.0/glib/glib-Memory-Allocation.html#g-mem-set-vtable > > Of course given the nature of the data used with GSL it would probably > be good to provide > support for a vtable slot for at least GC_MALLOC_ATOMIC and use that > when appropriate.
Thanks for your email. I think the simplest solution is for the user to do this with the GNU ld --wrap option, rather than changing GSL itself. This will also work for any other library. http://sourceware.org/binutils/docs-2.17/ld/Options.html#Options -- Brian Gough (GSL Maintainer) Network Theory Ltd, Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/ _______________________________________________ Bug-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gsl
