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.