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
c68490b3
Commit
c68490b3
authored
Feb 23, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Centralize run-time library name/path
parent
2c3c94bd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
79 additions
and
73 deletions
+79
-73
bindings/cil/src/exception.cs
bindings/cil/src/exception.cs
+3
-8
bindings/cil/src/libvlc.cs
bindings/cil/src/libvlc.cs
+75
-61
bindings/cil/src/ustring.cs
bindings/cil/src/ustring.cs
+1
-4
No files found.
bindings/cil/src/exception.cs
View file @
c68490b3
...
...
@@ -101,14 +101,9 @@ namespace VideoLAN.LibVLC
int
code
;
IntPtr
message
;
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_exception_init"
)]
private
static
extern
void
Init
(
NativeException
e
);
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_exception_clear"
)]
private
static
extern
void
Clear
(
NativeException
e
);
public
NativeException
()
{
Init
(
this
);
LibVLC
.
Exception
Init
(
this
);
}
/**
...
...
@@ -130,7 +125,7 @@ namespace VideoLAN.LibVLC
}
finally
{
Clear
(
this
);
LibVLC
.
Exception
Clear
(
this
);
}
}
...
...
@@ -148,7 +143,7 @@ namespace VideoLAN.LibVLC
private
void
Dispose
(
bool
disposing
)
{
Clear
(
this
);
LibVLC
.
Exception
Clear
(
this
);
}
};
};
bindings/cil/src/libvlc.cs
View file @
c68490b3
This diff is collapsed.
Click to expand it.
bindings/cil/src/ustring.cs
View file @
c68490b3
...
...
@@ -98,15 +98,12 @@ namespace VideoLAN.LibVLC
*/
internal
class
MemoryHandle
:
NonNullHandle
{
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_free"
)]
private
static
extern
void
Free
(
IntPtr
ptr
);
/**
* NonNullHandle.Destroy
*/
protected
override
void
Destroy
()
{
Free
(
handle
);
LibVLC
.
Free
(
handle
);
}
};
...
...
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