-
-
Notifications
You must be signed in to change notification settings - Fork 264
function pointer argument name removed #182
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
This code:
typedef int my_cb(int dst, int len, int dat);
int f(my_cb cb, void *dat);
int f(my_cb cb, void *dat)
{
return 0;
}
produces this output:
typedef int my_cb(int dst, int len, int dat);
int f(my_cb *, void * dat);
int f(my_cb *, void * dat)
{
return 0;
}
The argument name is removed on the first argument cb.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working