no property 'opCall' for type ... what am I doing wrong?
Daniel Keep
daniel.keep.lists at gmail.com
Sat May 5 08:57:10 PDT 2007
Jarrett Billingsley wrote:
> "Daniel Keep" <daniel.keep.lists at gmail.com> wrote in message
> news:f1hkrr$o19$1 at digitalmars.com...
>> Weird; you're right. It does work. I *swear* it didn't used to, tho.
>> I remember having to work around the problem for a library I was writing
>> and being a bit annoyed at the time...
>>
>> Oh well.
>
> Sure you weren't trying to return the address of a parameter at the time?
I was trying to do one of two things: I was either trying to cast an
inout argument into a ubyte[] or back, or trying to take the address of
an argument, convert it to a ubyte[], then return a .dup of it.
Basically, I was trying to do blind byte copies.
-- Daniel
--
int getRandomNumber()
{
return 4; // chosen by fair dice roll.
// guaranteed to be random.
}
http://xkcd.com/
v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D
i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/
More information about the Digitalmars-d-learn
mailing list