Skip to content

function pointer argument name removed #182

@IOBYTE

Description

@IOBYTE

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions