Is there a way to use named arguments in a C function?
Something like a function with a prototype void foo(int a, int b, int c);
and I want to call him foo(a=2, c=3, b=1);
[replaced the order b & c
and used their names to distinguish]
Motivation: I need more Pythonic C, where I can easily manipulate the arguments of my function without mixing them by mistake
source
share