]> git.sesse.net Git - vlc/commitdiff
Documentation
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 22 Feb 2009 08:05:46 +0000 (10:05 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 22 Feb 2009 08:05:46 +0000 (10:05 +0200)
bindings/cil/src/marshal.cs
bindings/cil/src/ustring.cs

index 2135acaf9c28545cc5b2b313df5d1b0496f665eb..439d849ed1ed85c307696671336e2bdb04e7b340 100644 (file)
@@ -67,10 +67,10 @@ namespace VideoLAN.LibVLC
     };
 
     /**
-     * @brief BaseObject: generic wrapper around a safe handle.
+     * @brief BaseObject: generic wrapper around a safe LibVLC handle.
      * @ingroup Internals
      * This is the baseline for all managed LibVLC objects which wrap
-     * an unmanaged LibVLC pointer.
+     * an unmanaged LibVLC pointer, and provides exception handling.
      */
     public class BaseObject : IDisposable
     {
@@ -101,6 +101,11 @@ namespace VideoLAN.LibVLC
             GC.SuppressFinalize (this);
         }
 
+        /**
+         * Releases unmanaged resources associated with the object.
+         * @param disposing true if the disposing the object explicitly,
+         *                  false if finalizing the object inside the GC.
+         */
         protected virtual void Dispose (bool disposing)
         {
             if (disposing)
index d6ad65a208b18ce4c881463a55c2bdd7cb117c2c..f70eb2be3e5f77276a8dafaca1541dcc22fad0c6 100644 (file)
@@ -114,6 +114,10 @@ namespace VideoLAN.LibVLC
             return U8String.FromNative (handle);
         }
 
+        /**
+         * Converts the buffer (as in ToString()) and release it.
+         * @return managed string representation of the buffer
+         */
         public string Transform ()
         {
             string value = ToString ();