Hi,

I found that I need to convert a bool variable to its string
representation, e.g. "FALSE" or "TRUE". I "invented" a macro:

#define G_BOOL_TO_STRING(x) (x ? "TRUE" : "FALSE")

I put this macro to ./glib/gmacros.h file and added a brief description
./glib/docs.c

Everything looks good but gtk-doc ignores it. Do I need to explicitly
mention this macro in some file? If so, what file? BTW, do we need this
macro in glib?

Thanks.


-Pavlo Solntsev
---------------------------------------------------------------------------------------------

*Please avoid sending me Word or PowerPoint attachments.See
http://www.gnu.org/philosophy/no-word-attachments.html
<http://www.gnu.org/philosophy/no-word-attachments.html>*
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to