reconsider use of _ prefix for struct tags?
- From: Darin Adler <darin eazel com>
- To: Gtk Developers <gtk-devel-list redhat com>
- Subject: reconsider use of _ prefix for struct tags?
- Date: Tue, 11 Jul 2000 09:17:08 -0700
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]