D
Default User
Normally, in C++ one doesn't use void in a function declaration when it
takes no parameters. You need to in C. So what about a C++ function declared
with an extern "C"? Example:
extern "C" void __declspec(dllexport) functionName() // does this need to be
(void)?
As is probably evident, this is in a Windows DLL. Right now, the entire
program is C++. I don't know if it will ever be used with C modules.
Brian
takes no parameters. You need to in C. So what about a C++ function declared
with an extern "C"? Example:
extern "C" void __declspec(dllexport) functionName() // does this need to be
(void)?
As is probably evident, this is in a Windows DLL. Right now, the entire
program is C++. I don't know if it will ever be used with C modules.
Brian