I'm working on a dynamic library, is it possible to have a function output a custom class object when using extern "C"
or am I limited to data types native to C.
For example, could I have
extern "C" std::string func(const std::string& str);
So that I can get that function and use it after loading the library and getting the function symbol?
std::string result = func("Lol");