From: Paul Shirley Newsgroups: comp.os.msdos.djgpp Subject: Re: Redefinition of functions ? Date: Mon, 29 Jun 1998 12:25:50 +0100 Organization: wot? me? Message-ID: References: <359389BC DOT 2E02 AT phrozen DOT com> <19980628 DOT 202113 DOT 7751 DOT 2 DOT zixyer AT juno DOT com> NNTP-Posting-Host: chocolat.foobar.co.uk Mime-Version: 1.0 Lines: 13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <19980628 DOT 202113 DOT 7751 DOT 2 DOT zixyer AT juno DOT com>, Zixyer S Qwerty writes >To redefine a function, just >#define textmode myfunc >and make myfunc do whatever. That *nearly* works, but will not catch calls to the original function in compiled library code. Very important if you try replacing malloc for instance. Its probably sufficient for most times you want to do it though. --- Paul Shirley: my email address is 'obvious'ly anti-spammed