I've seen this code written at the top of an API:
typedef struct SYSTEM SYSTEM;
The type SYSTEM
was previously undefined. Does anyone know what this does? What does the compiler think a SYSTEM
after this line?
Thanks for the answers! My question is that SYSTEM was not previously defined in the file, so I have no idea what it is. For example, that line will compile by itself, but struct SYSTEM
was not defined anywhere.