> On 09/02/11 10:56, Manolo Gouy wrote:
> > Also, fl_xid() was part of the API and declared in x.H
> > already in 1.1, without need for any extra symbol definition.
>
>       OK, good. So just confirming:
>
>       Should the public docs for fl_xid() indicate
>       one should #include <FL/x.H> to make use of it?
>
>       It's the docs I'm trying to nail down, as to date they
>       make no mention of what to include, and folks seem to
>       trip up on errors with fl_xid() a lot.
>
>       From what I can tell, fl_xid() is only documented in osissues,
>       which to date only had once sentence describing it,
>       and doesn't cover what to include to reach it.
>
>       Whatever mention there is of x.H currently in osissues,
>       I don't think it clearly connects to fl_xid(). If it is,
>       apparently it's unclear, as others including myself have
>       run into this.

All of the OS-specific functions require <FL/x.H>. The fl_xid()
function is just one of them, and has nothing special in
terms of header requirements.

This common header requirement is clearly stated at the top of the
"Operating System Issues" section of the doc. Isn't that enough ?

All other sections of the doc that describe a series of API
functions (e.g., the "Screen functions" module) also indicate
once only at their top the header requirement.

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to