-
Notifications
You must be signed in to change notification settings - Fork 38
typedef and anonymous structs #8
Copy link
Copy link
Closed
Labels
Description
Something like this:
typedef struct { ... } struct_name;
is a common pattern in c. It's just a way to rename an anonymous struct.
dstep split this in two different declaration
struct anonymous
{
}
and
alias anonymous struct_name;
Original anonymous struct will be never used and can't be called from C code, so I think this two declaration can be merged in a single named struct.
Reactions are currently unavailable