[phobos] druntime commit, revision 360

Sean Kelly sean at invisibleduck.org
Mon Aug 9 13:02:44 PDT 2010


This wouldn't work with a 64-bit target though, would it?  The struct would be 128 bits, and this approach returns it by value, unless I'm misreading the cast.

On Aug 9, 2010, at 1:00 PM, Walter Bright wrote:

> It's actually quite portable <g>.
> 
> Steve Schveighoffer wrote:
>> That seems like the ugly/unportable way to do it, but I guess that's all we can do for now.
>> 
>> Thanks
>> 
>> -Steve
>> 
>> 
>> 
>> ----- Original Message ----
>>  
>>> From: Walter Bright <walter at digitalmars.com>
>>> To: Discuss the phobos library for D <phobos at puremagic.com>
>>> Sent: Mon, August 9, 2010 3:24:51 PM
>>> Subject: Re: [phobos] druntime commit, revision 360
>>> 
>>> I'm subscribed to it now. Anyhow, the idea is to 'paint' the struct to be a  ulong:
>>> 
>>>   return *cast(ulong *)&s;
>>> 
>>> Steve Schveighoffer  wrote:
>>>    
>>>> BTW, since I now know you haven't been looking at druntime  mailing list, can       
>>> you address this post?
>>>    
>>>> http://lists.puremagic.com/pipermail/d-runtime/2010-July/000054.html
>>>> 
>>>> -Steve
>>>> 
>>>> 
>>>> 
>>>> ----- Original Message  ----
>>>>       
>>>>> From: Walter Bright <walter at digitalmars.com>
>>>>> To: Discuss the phobos library for D <phobos at puremagic.com>
>>>>> Sent: Fri, August 6, 2010 5:59:16 PM
>>>>> Subject: Re: [phobos] druntime  commit, revision 360
>>>>> 
>>>>> Gaa, I didn't even know there was  a druntime mailing list. I recently         
>>> asked  Brad Anderson to run the  druntime commit notifications here.
>>>    
>>>>> Steve   Schveighoffer wrote:
>>>>>           
>>>>>> I noticed not a  lot of people are on the d-runtime  mailing list, and now           
>>> I       
>>>    
>>>>> see            
>>>>>> druntime  commits are starting to go to the  phobos mailing list.  Should            
>>> we      
>>>    
>>>>> even            
>>>>>> have a druntime mailing  list?
>>>>>> 
>>>>>> -Steve
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> ----- Original  Message ----
>>>>>>                  
>>>>>>> From: dsource.org <noreply at dsource.org>
>>>>>>> To: phobos at puremagic.com
>>>>>>> Sent:  Fri, August 6, 2010 1:07:18 PM
>>>>>>> Subject: [phobos]  druntime commit,  revision 360
>>>>>>> 
>>>>>>> druntime commit, revision  360
>>>>>>> 
>>>>>>> 
>>>>>>> user: sean
>>>>>>> 
>>>>>>>  msg:
>>>>>>> This closes  #15
>>>>>>> 
>>>>>>>  http://www.dsource.org/projects/druntime/changeset/360
>>>>>>> 
>>>>>>>  _______________________________________________
>>>>>>> phobos   mailing  list
>>>>>>> phobos at puremagic.com
>>>>>>>  http://lists.puremagic.com/mailman/listinfo/phobos
>>>>>>> 
>>>>>>>                       
>>>>>>       _______________________________________________
>>>>>> phobos  mailing  list
>>>>>> phobos at puremagic.com
>>>>>> http://lists.puremagic.com/mailman/listinfo/phobos
>>>>>> 
>>>>>> 
>>>>>>                 
>>>>> _______________________________________________
>>>>> phobos mailing   list
>>>>> phobos at puremagic.com
>>>>> http://lists.puremagic.com/mailman/listinfo/phobos
>>>>> 
>>>>>           
>>>>       _______________________________________________
>>>> phobos mailing  list
>>>> phobos at puremagic.com
>>>> http://lists.puremagic.com/mailman/listinfo/phobos
>>>> 
>>>> 
>>>>       
>>> _______________________________________________
>>> phobos  mailing list
>>> phobos at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/phobos
>>> 
>>>    
>> 
>> 
>>      _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>> 
>> 
>>  
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos



More information about the phobos mailing list