On Tue, 03 Aug 2010 21:04:26 -0400, Sam Hu <samhudotsa...@gmail.com> wrote:
Richard Webb Wrote:
The Juno library has a 'uuid' that works like that, and the posted
example seems
to build ok here using DMD 1.062.
Theres also a Tango version of the same code in the dwin library, but i
haven't
tried that for ages.
Thank you both for the reply.Sorry for the lack of the signature of
uuid.Here they are:
char[] uuid(char[] g)
{
...
}
char[] uuid(char[] type, char[] g)
{
...
}
Richard:Yes,you is right.This is from dwin on which I tried to work out
for the latest tango.Btw,have you got a workable version of juno for
current D2?I tried several times but finally gave up.
In d2, strings are represented by immutable(char)[]. Change uuid to
return and accept string (and fix any resulting bugs).
-Steve