more about carbon (was Re: FLTK native in 'D'. Would that be useful?)
Carlos Santander
csantander619 at gmail.com
Thu Aug 17 09:09:32 PDT 2006
Another suggestion: you have code like this:
typedef UInt32 WindowPositionMethod;
enum {
kWindowCenterOnMainScreen = 1,
...
}
I think you should make one of these two changes: change the typedef to alias
(why, because C's typedef isn't D's typedef but alias), or make the enum derive
(is that the right term?) from the typedef:
enum : WindowPositionMethod {
kWindowCenterOnMainScreen = 1,
...
}
OT:
to anyone, what's the svn command to get a diff between two revisions of a file?
--
Carlos Santander Bernal
More information about the Digitalmars-d-dwt
mailing list