Re: gtk-doc and preprocessor statements
- From: Philip Kovacs <kovacsp3 comcast net>
- To: Damon Chaplin <damon karuna eclipse co uk>
- Cc: gtk-doc-list gnome org
- Subject: Re: gtk-doc and preprocessor statements
- Date: Fri, 01 Jun 2007 11:37:39 -0400
Damon Chaplin wrote:
> gtk-doc doesn't do anything like that.
>
> I'm not sure how useful it would be anyway. Wouldn't it be more useful
> to include the function in the documentation and say that it is only
> available where FOO is installed? Otherwise developers may use the
> function and not realise it may not be available everywhere. Or if they
> don't have FOO installed they may not know the function is available at
> all.
>
> Damon
Yes, it is probably better to return some error, e.g. a GError "function
not available", back to the
caller of any library function that is not available on the
installation, rather than hiding the function
altogether.
Thanks for your reply.
Phil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]