Aggh, you're right.
Steve Schveighoffer wrote:
Won't arrays in 64-bit be not ulongs?
I thought a struct which mimics the actual structure of arrays would be the most
portable.
i.e.:
struct Array
{
size_t length;
void *ptr;
}
To do it your way, I have to insert static asserts so 64-bit runtime does not
compile as Don suggested. I don't know how else to fix it.
-Steve
----- Original Message ----
From: Walter Bright <[email protected]>
To: Discuss the phobos library for D <[email protected]>
Sent: Mon, August 9, 2010 4:00:11 PM
Subject: Re: [phobos] druntime commit, revision 360
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 <[email protected]>
To: Discuss the phobos library for D <[email protected]>
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 <[email protected]>
To: Discuss the phobos library for D <[email protected]>
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 <[email protected]>
To: [email protected]
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
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos