Exporing Go interface type using cgo

I want to export some of our Go packages as C++ library and some functions involve self-defined types, including interface. I checked out the tutorials/docs about how to use cgo and export go structs, but I have not found instructions about how to handle interfaces, which contain function definitions instead of data fields like in struct. How might I handle this?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.