]> git.sesse.net Git - vlc/blobdiff - bindings/cil/src/ustring.cs
Centralize run-time library name/path
[vlc] / bindings / cil / src / ustring.cs
index e55c42568ca1276c237cc9f7870d03e7ffdf8fd3..030064ea66def250300c1c0b7f12f8e9eed0ddd1 100644 (file)
@@ -98,15 +98,12 @@ namespace VideoLAN.LibVLC
      */
     internal class MemoryHandle : NonNullHandle
     {
-        [DllImport ("libvlc.dll", EntryPoint="libvlc_free")]
-        private static extern void Free (IntPtr ptr);
-
         /**
          * NonNullHandle.Destroy
          */
         protected override void Destroy ()
         {
-            Free (handle);
+            LibVLC.Free (handle);
         }
     };