Mail Archives: djgpp-workers/1999/05/16/09:18:39
> Why can't wctype.h use inlines/ctype.ha, if it needs it? Does the
> standard preclude it?
The inlines directory was added as a way to manage complexity and keep
the regular includes from getting messy. <foo.h> should use
<inlines/foo.ha> for inlined ANSI functions, or <inlines/foo.hp> for
inlined POSIX functions, etc.
> How about including ctype.h from wctype.h? Will that be good enough?
That would be the right way to do it. Note that the user is allowed
to disable all inline functions (say, for debugging) with a single -D.
(um, -D__dj_ENFORCE_FUNCTION_CALLS) Please test these headers with
that option to make sure there are no hidden dependencies.
If needed, <inlines/ctype.ha> and <inlines/wctype.ha> can share a
common <inlines/...> header if they have stuff in common, but be
careful to allow including both headers in either order.
- Raw text -