View previous topic :: View next topic |
Author |
Message |
WeirdCat
Joined: 29 Apr 2007 Posts: 19
|
Posted: Fri Sep 07, 2007 1:29 am Post subject: D 2.0? |
|
|
When do we convert the WindowsAPI project to D 2.0?
Walter said it was pretty simple to convert phobos and I think the sooner we start to convert the easier it will be.
LLAP,
Sascha |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Fri Sep 07, 2007 12:41 pm Post subject: Re: D 2.0? |
|
|
WeirdCat wrote: | When do we convert the WindowsAPI project to D 2.0?
Walter said it was pretty simple to convert phobos and I think the sooner we start to convert the easier it will be.
LLAP,
Sascha | Since I think that only a fairly simple subset of D code exists in the Windows API headers project (I'm guessing that it doesn't have any templates or classes), the best way to convert it to D 2.X would probably be to develop a simple tool that would convert the code automatically.
Or is there more involved that searching for a particular string and replacing it with another string? I haven't really done any coding in D 2.X yet. (I've gotten tired of being on the cutting edge.) |
|
Back to top |
|
|
smjg
Joined: 29 Sep 2004 Posts: 41
|
Posted: Mon Sep 10, 2007 8:23 am Post subject: Re: D 2.0? |
|
|
AIUI converting Phobos was simple because there are separate versions of the Phobos code for the two versions of D. OTOH this project still needs to support D 1.x.
Is there anything to convert other than the const pointer types? I've just written some code with which this could be done....
Stewart. |
|
Back to top |
|
|
|