need help to translate C into D

test123 test123 at gmail.com
Tue Sep 13 11:38:19 UTC 2022


On Tuesday, 13 September 2022 at 11:29:12 UTC, Dennis wrote:
> On Tuesday, 13 September 2022 at 11:03:30 UTC, test123 wrote:
>> and upb_MiniTable_Enum can include a lot diff types. (for 
>> example mixed diff size upb_MiniTable_Enum)
>
> I think you'll need a `void*` array then, since pointers to 
> different structs can all implicitly convert to `void*`.

Thanks for so much tips and help. I will try void*


More information about the Digitalmars-d-learn mailing list