[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc pat

From: Erik Christiansen
Subject: Re: [avr-gcc-list] Re: [avr-libc-dev] Please have a look at avr-libc patch #3750
Date: Wed, 7 Sep 2005 11:57:37 +1000
User-agent: Mutt/1.5.6+20040722i

On Tue, Sep 06, 2005 at 10:24:34AM +0200, Joerg Wunsch wrote:
> How about the following:
> /* discontinued version */
> extern FILE *fdevopen(int (*__put)(char), int (*__get)(void),
>                       int __opts);
> #else
> /* version of avr-libc 1.4 and above */
> extern FILE *fdevopen(int (*__put)(char, FILE*),
>                             int (*__get)(FILE*));
> #endif

This is kind to the conservative, while maximising continuity for the
improved API.

I'm particularly impressed by provision of the option of doing without
malloc. (Quite a few of us are likely to wish to avoid its
non-deterministic execution times in some projects at least.)

Many Thanks,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]