pingus-devel
[Top][All Lists]
Advanced

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

Re: Creating custom debug streams


From: David Philippi
Subject: Re: Creating custom debug streams
Date: Thu, 6 Jun 2002 18:00:22 +0200
User-agent: KMail/1.4.1

On Thursday 06 June 2002 16:34, Ingo Ruhnke wrote:

> As far as I remember overflow(int c) is called when the buffer is
> full, so that one can clear the buffer and write out the content. 'c'
> is the character which caused the overflow, so one also has to output
> that. sync() does the same, but not on an overfull buffer, but instead
> it can be triggered with a std::flush.

I've found a documentation of the streambuf class. I'll check what's needed 
to in our case and implement missing code if necessary.
But first I'll try to reduce the inter header dependencies a bit, I'm bored 
of watching lots of files being rebuild as soon as I change a header and a 
bit more speed won't hurt either.

Bye David




reply via email to

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