Mail Archives: djgpp-workers/2004/01/07/05:04:24
On Tue, 6 Jan 2004, Eli Zaretskii wrote:
> True, although hiding FILE from library internals is IMHO not a very
> important goal.
Yes, but this also makes the code more modular, and I think that is
important.
> I'd prefer not to have this on a header file. I don't like included
> files that define executable code; for one, they make debugging
> harder.
Maybe so, but the getc/putc internals are also inline functions in
this same header, and they are more complex that my string opening
functions. Have the getc/putc functions caused any problems with
debugging?
> I'm sure a way can be found to use your code without putting it on a
> header file, though.
Yes, but I'm not convinced that's really necessary.
--
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/
- Raw text -