Hello everyone,
I'm trying to call a C++ function from C. The problem is that when I call it from my main function in main.c, it works. But when I call it from a procedure other than main defined in some other c file, the arguments get messed up. Here's my setup.
//Inside Foo.cpp
extern...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.