Can we call Go From C++ using SWIG
DinoStray opened this issue · comments
DinoStray commented
I know we can call C++ from Go using SWIG.
But can we call Go From C++ using SWIG?
Dave Raffensperger commented
So for calling Go from C++, I don't think you need SWIG because Go's functions follow normal C calling conventions, which C++ can also use, see this example here:
What would be your motivation for using SWIG for calling from C++ to Go?