FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

D 2.0?

 
Post new topic   Reply to topic     Forum Index -> Bindings
View previous topic :: View next topic  
Author Message
WeirdCat



Joined: 29 Apr 2007
Posts: 19

PostPosted: Fri Sep 07, 2007 1:29 am    Post subject: D 2.0? Reply with quote

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
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Fri Sep 07, 2007 12:41 pm    Post subject: Re: D 2.0? Reply with quote

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
View user's profile Send private message AIM Address
smjg



Joined: 29 Sep 2004
Posts: 41

PostPosted: Mon Sep 10, 2007 8:23 am    Post subject: Re: D 2.0? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Bindings All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group