lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I don't understand the interest of those parentheses surrounding the declared names

It is meant to allow redefinitions of API names via macros. Run cc -E
on the code below:

#define f(x) g(x,10)
void (f)(int a);
void f(int a);

This allows tools like my ctrace and others to exist.