Open mfkl opened 6 years ago
Why not using a IntPtr ? Is there any drawbacks (like heavy performance implications) of using the managed IntPtr?
No drawbacks, I just did not get around to changing this cppsharp-generated signature and writing the marshalling logic yet. Issue created so I don't forget it :)
To do this, marshalling needs to be changed for
internal static extern unsafe int LibVLCVideoGetSize(IntPtr mediaPlayer, uint num, uint* px, uint* py);
internal static extern unsafe int LibVLCVideoGetCursor(IntPtr mediaPlayer, uint num, int* px, int* py);