In C++ Dll I have this code:
struct Bar
{
std::vector<double> a;
std::vector<double> b;
}
std::vector<Bar> t;
How can I map t
to be accesible from C#.
For example, I have created this in C++ Dll
__declspec(dllexport) void ReleaseNet(std::vector<Bar> t)
{
someObject.setData(t);
};
And from C# I need to pass data to this method.