Translation of C struct to D

Trass3r un at known.com
Wed Nov 16 14:23:21 PST 2011


> If I try to cast with register_chrdev(0, (char*)DEVICE_NAME, &fops); the  
> following error appears:
>
> C style cast illegal, use cast(char*)DEVICE_NAME

Or use DEVICE_NAME.ptr


More information about the Digitalmars-d mailing list