reconsider use of _ prefix for struct tags?



Is there a good reason to continue using a _ prefix for all struct tags in
GTK+ and GNOME? The use of a _ prefix is technically illegal (they are
reserved for the ISO C library and C implementation). I don't see any
advantage to having a struct tag and a typedef with distinct names, but
perhaps I'm missing something.

Instead of:

    typedef struct _X X;
    struct _X {
    };

We'd just use:

    typedef struct X X;
    struct X {
    };

    -- Darin





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