|
From: | Paul Eggert |
Subject: | Re: Dynamic loading progress |
Date: | Mon, 23 Nov 2015 08:29:16 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 11/22/2015 06:47 PM, Tom Tromey wrote:
Commonly a module will use some other library, which will do whatever it does.
Yes, if another library calls the system malloc directly, the module author will be stuck with that behavior. However, many libraries let or require the caller to allocate memory, or provide ways for the caller to specify the memory-allocator functions, and module authors should prefer this to having the libraries invoke malloc directly, because Emacs wants to do memory accounting etc.
[Prev in Thread] | Current Thread | [Next in Thread] |