Re: Style convention question



On Thu, 8 Mar 2001, Derek Simkowiak wrote:

> Date: Thu, 8 Mar 2001 12:21:50 -0800 (PST)
> From: Derek Simkowiak <dereks realloc net>
> To: gtk-devel-list gnome org
> Subject: Style convention question
>
>
> 	This is a quickie.  My apologies if it's not the best list for
> this, but I know that the right people are here :).
>
> 	Why does Glib do this:
>
> typedef struct _GFoo GFoo;
> struct _GFoo {
> 	/* [...] */
> };

Probably it's intented to annoy language lawyers who will instantly
recognize the use of the reserved identifier _GFoo as undefined
behavior.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]