[Glade-devel] [PATCH] removed some forward enum declarations

Murray Cumming schrieb:
On Mon, 2006-12-18 at 10:46 +0100, Oliver Nittka wrote:
e forward declarations seemed actually neccessary to me,
they were all resolved by just expanding the actual definition by its
common name and a typedef. 

Isn't this duplicating the definition?

well, i just changed

typedef enum _SomeEnum SomeEnum;
enum _SomeEnum {


typedef enum _SomeEnum {
} SomeEnum;

i admit the _SomeEnum would't be neccessary, as it is never used
anywhere else. It's just that most of the other enums were defined that
way, so i thought i'd stick to that.

Oliver Nittka
ESEM Gr?nau GmbH & Co. KG
Dornierstra?e 6, 88677 Markdorf/Germany
phone: +49 7544 9583-25, fax: +49 7544 9583-60

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