I am trying to understand a c++ code that reads a dll explicitly. Does any one know how the line "#define LFE_API(name) LFE_##name name" bellow actually works? I understand "#define LFE_API(name) LFE_##name" but get confused about the last "name".
struct Interface
{
# ifdef LFE_API
# error You can't define LFE_API before.
# else
# define LFE_API(name) LFE_##name name
LFE_API(Init);
LFE_API(Close);
LFE_API(GetProperty);
# undef LFE_API
# endif
};
Thanks in advance
Gooly