Example c file:
typedef unsigned int uint;
typedef unsigned short ushort;
If you then convert to a .di file, you get something like:
extern(C)
{
// ... bunch of junk
alias uint = uint;
alias ushort = ushort;
// ...
}
Which are not valid alias declarations.
Comment #1 by robert.schadek — 2024-12-13T19:33:04Z