Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
247431e0
Commit
247431e0
authored
Feb 22, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation
parent
b651213d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
bindings/cil/src/marshal.cs
bindings/cil/src/marshal.cs
+7
-2
bindings/cil/src/ustring.cs
bindings/cil/src/ustring.cs
+4
-0
No files found.
bindings/cil/src/marshal.cs
View file @
247431e0
...
@@ -67,10 +67,10 @@ namespace VideoLAN.LibVLC
...
@@ -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
* @ingroup Internals
* This is the baseline for all managed LibVLC objects which wrap
* 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
public
class
BaseObject
:
IDisposable
{
{
...
@@ -101,6 +101,11 @@ namespace VideoLAN.LibVLC
...
@@ -101,6 +101,11 @@ namespace VideoLAN.LibVLC
GC
.
SuppressFinalize
(
this
);
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
)
protected
virtual
void
Dispose
(
bool
disposing
)
{
{
if
(
disposing
)
if
(
disposing
)
...
...
bindings/cil/src/ustring.cs
View file @
247431e0
...
@@ -114,6 +114,10 @@ namespace VideoLAN.LibVLC
...
@@ -114,6 +114,10 @@ namespace VideoLAN.LibVLC
return
U8String
.
FromNative
(
handle
);
return
U8String
.
FromNative
(
handle
);
}
}
/**
* Converts the buffer (as in ToString()) and release it.
* @return managed string representation of the buffer
*/
public
string
Transform
()
public
string
Transform
()
{
{
string
value
=
ToString
();
string
value
=
ToString
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment