GetVLCInstance must return an non-abstract typed object ...
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 23 Feb 2009 17:34:59 +0000 (19:34 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 23 Feb 2009 19:13:28 +0000 (21:13 +0200)
bindings/cil/src/instance.cs
bindings/cil/src/libvlc.cs

index 1a119a8..f40862c 100644 (file)
@@ -149,7 +149,7 @@ namespace VideoLAN.LibVLC
          * Do not use this unless you really know what you are doing.
          * @version VLC 1.0
          */
          * Do not use this unless you really know what you are doing.
          * @version VLC 1.0
          */
-        public SafeHandle Object
+        public IntPtr Object
         {
             get
             {
         {
             get
             {
index 45003c4..16a8815 100644 (file)
@@ -68,7 +68,7 @@ namespace VideoLAN.LibVLC
 
         [DllImport ("libvlc.dll", EntryPoint="libvlc_get_vlc_instance")]
         public static extern
 
         [DllImport ("libvlc.dll", EntryPoint="libvlc_get_vlc_instance")]
         public static extern
-        SafeHandle GetVLCInstance (InstanceHandle h);
+        IntPtr GetVLCInstance (InstanceHandle h);
 
         /* media.c */
         [DllImport ("libvlc.dll", EntryPoint="libvlc_media_new")]
 
         /* media.c */
         [DllImport ("libvlc.dll", EntryPoint="libvlc_media_new")]