X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Tue, 5 Mar 2002 10:17:43 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp-workers AT delorie DOT com Subject: Re: Malloc/free DJGPP code In-Reply-To: <3C8465FE.6E82CA5D@yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 5 Mar 2002, CBFalconer wrote: > > Features such as those in malldbg.c cannot be implemented that way, since > > they are meant to be used by ordinary users, not source code hackers. > > > > For example, how do you implement a feature that shows a report of > > allocated and free blocks? > > See my other posting a few minutes ago. The free blocks can > ALWAYS be traced. That was just an example. A hook is more general than any specific code, because it allows a programmer to implement many features that the original author never had in mind.