On 7/5/24 6:36 AM, Robert Elz wrote:
In sh, I have a whole set of functions that are called via a function pointer in a data struct (*p->func)(arg); One of those functions needs a 2nd arg, which means that to keep compatible function profiles these days, I need to add the extra arg to all of them
How do you know which functions take one argument and which two? The cleanest method if you need to keep all of them in one table would be a union.
Joerg