View Single Post
Mentor
24May2011,12:09  
xpi0t0s's Avatar
Usually to call C from C++ you just need to extern "C" the prototype:
Code:
extern "C"
{
Error add(int,int);
}
Then the compiler knows not to mangle the name and not to look for a mangled name.