HN2new | past | comments | ask | show | jobs | submitlogin

Can D handle opaque C preprocessor defined types?


yes, if it exists as a thing in the object file you can interoperate with it, with a few exceptions, e.g. diamond inheritance


The C preprocessor does not have types.

But things like `struct S *` with no definition of `S` are handled properly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: