Author |
Message |
Topic: Struct vs. Class |
evetsyor
Replies: 12
Views: 21553
|
Forum: DWT Posted: Thu Apr 01, 2004 5:40 am Subject: Struct vs. Class |
In those case:
LOGFONT.java
LOGFONTA.java
LOGFONTW.java
We should use struct, cuz those struct are passed to Win32 API, java version use class then thru the wrapper .c files are sorta convert ... |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Wed Mar 31, 2004 7:14 am Subject: Division of Labor |
and also subversion version is the DWT M6 version, my branch is from M8 version, and i did, cuz i didnt wanted to modify the DWT one, i started clean to keep the original import in the same order etc. ... |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Wed Mar 31, 2004 7:07 am Subject: Division of Labor |
the file only content the headers and the classes, i want to make the whole kit to compile with only the declaration, the implementation is all commented out.
then if the interface can compile, then ... |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Tue Mar 30, 2004 8:08 pm Subject: Division of Labor |
I now have a swt-3.0m8-win32.lib with 276 .obj in it.
- Steve |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Tue Mar 30, 2004 12:26 pm Subject: Division of Labor |
Aye my example is ALL the files of the swt m8 version, it might be a bit big
- Steve |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Tue Mar 30, 2004 9:24 am Subject: Division of Labor |
tryed new DMD 0.82
now where i had forward reference error, i get assertion in glue.c of the compiler....
- Steve |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Tue Mar 30, 2004 9:23 am Subject: Division of Labor |
different approach and some hacking
- Steve |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Mon Mar 29, 2004 10:29 pm Subject: Division of Labor |
the make generate me 32 .obj file now
im tired, going to bed now...................zzzzz
- Steve |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Mon Mar 29, 2004 9:01 pm Subject: Division of Labor |
my observation is that, inheritance in separate file only work on the fist one, as soon as i inherite a class from a already inherited one, i get forward reference issue.
Ex:
- Widget > Cont ... |
Topic: Division of Labor |
evetsyor
Replies: 28
Views: 57632
|
Forum: DWT Posted: Mon Mar 29, 2004 8:48 pm Subject: Division of Labor |
that scary
- Steve |
Topic: Struct vs. Class |
evetsyor
Replies: 12
Views: 21553
|
Forum: DWT Posted: Mon Mar 29, 2004 7:55 am Subject: Struct vs. Class |
I personaly prefer the use of struct. but in the current state of the project, i think its better idea to leave thing that can work as is. and change only thing that cant.
Traceability is very impo ... |
Topic: Struct vs. Class |
evetsyor
Replies: 12
Views: 21553
|
Forum: DWT Posted: Sun Mar 28, 2004 3:53 pm Subject: Struct vs. Class |
SWT is a combination of classes and a native API wrapper written in C. for the D port we dont need the wrapper, we can call the native one directly.
So the port itself is more a port of the classes ... |
|