[bug-gsl] Using a different memory allocation function (2007-09-20)
|
From: |
"Naor Jonathan" <jnaor@...........> |
|
Subject: |
Using a different memory allocation function |
|
Date: |
Thu, 20 Sep 2007 14:50:15 +0200 |
|
To: |
<bug-gsl@gnu.org> |
Hi,
Some packages allow the user to supply his/her own memory allocation
function instead of malloc. Sometimes this is done by giving a pointer
to such a function. I wanted to suggest replacing every malloc in the
code with another function, say gsl_malloc, which could then be changed
by the user. By default this function could just be a wrapper for the
default malloc.
I'd appreciate any comments/suggestions.
Thanks,
Jonathan
This e-mail message has been sent by Elbit Systems Ltd.
and is for the use of the intended recipients only.
The message may contain privileged or commercially sensitive information .
If you are not the intended recipient you are hereby notified that any use,
distribution or copying of this communication is strictly prohibited,
and you are requested to delete the e-mail and any attachments
and notify the sender immediately.