trusted purity?

monarch_dodra monarchdodra at gmail.com
Mon Apr 29 13:03:50 PDT 2013


On Monday, 29 April 2013 at 18:34:46 UTC, Walter Bright wrote:
> On 4/29/2013 10:19 AM, monarch_dodra wrote:
>> I'm getting strange behavior trying to cast to pure. This is my
>> test program:
>
> You're casting a C function to a D function. This will cause 
> crashes.

OK, so say I have a documented pure C function, how do I call it 
from a pure scope? You say, take the address and cast it, but not 
if it's C...


More information about the Digitalmars-d mailing list