From: RĂ©mi Denis-Courmont Date: Sun, 22 Feb 2009 08:05:46 +0000 (+0200) Subject: Documentation X-Git-Tag: 1.0.0-pre1~500 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=247431e0c9a01d71c6b3a6eb941b6e4cec32a98a;p=vlc Documentation --- diff --git a/bindings/cil/src/marshal.cs b/bindings/cil/src/marshal.cs index 2135acaf9c..439d849ed1 100644 --- a/bindings/cil/src/marshal.cs +++ b/bindings/cil/src/marshal.cs @@ -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) diff --git a/bindings/cil/src/ustring.cs b/bindings/cil/src/ustring.cs index d6ad65a208..f70eb2be3e 100644 --- a/bindings/cil/src/ustring.cs +++ b/bindings/cil/src/ustring.cs @@ -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 ();