[vlc-devel] commit: Documentation ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Feb 22 09:56:58 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Feb 22 10:05:46 2009 +0200| [247431e0c9a01d71c6b3a6eb941b6e4cec32a98a] | committer: Rémi Denis-Courmont
Documentation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=247431e0c9a01d71c6b3a6eb941b6e4cec32a98a
---
bindings/cil/src/marshal.cs | 9 +++++++--
bindings/cil/src/ustring.cs | 4 ++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/bindings/cil/src/marshal.cs b/bindings/cil/src/marshal.cs
index 2135aca..439d849 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 d6ad65a..f70eb2b 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 ();
More information about the vlc-devel
mailing list