A macro to add
- Date: Thu, 8 Feb 2018 23:06:14 -0600
- From: Pavlo Solntsev <pavlo.solntsev@xxxxxxxxx>
- Subject: A macro to add
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
See http://www.gnu.org/philosophy/no-word-attachments.html
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-devel-list
- Follow-Ups:
- Re: A macro to add
- From: Philip Withnall
- Re: A macro to add
- Prev by Date: Re: gtk_menu_item_set_accel_path()
- Next by Date: Re: A macro to add
- Previous by thread: Re: gtk-devel-list Digest, Vol 166, Issue 9
- Next by thread: Re: A macro to add
- Index(es):