Dear all,Since "..." basically means anything, I was wondering if we can match "..." va_list kind of arguments in a function prototype.
I would like to do something like :
@@
identifier f, a;
type T, A;
@@
-T f(A a, ...);
+T f(A a, ...) { va_list args; va_start(args, a); va_stop(args); }
Regards,
jklee
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci
