Derived type

Mike Parker aldacron at gmail.com
Tue Mar 30 15:05:06 UTC 2021


On Tuesday, 30 March 2021 at 14:45:12 UTC, WebFreak001 wrote:

>> When i adapt C code, i see new type creation:

> The typedef in C in D is just an alias:
>
> ```
> alias Xobj = void*;
> ```

I totally overlooked the part about porting from C.

Yes, this is the way to go in that case.


More information about the Digitalmars-d-learn mailing list