Importing object type from .so lib


How do you import an object type into Unity?
For instance, let’s say I have a .so library written in C/C++ with this inside:


typedef struct myObject{
         // some stuff here
} myObject;

Then what do I do in Unity to get this back?

// Something?

If needed, yes I’ve looked it up on the internet, read the Unity documentation, other threads etc… the only thing I have found was this and it didn’t help me because I don’t know what’s inside myObject and I don’t need to.

Any help would be appreciated.


I’ve been struggling with this for a while now, is it even possible to do what I’m asking?