Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c47a2922
Commit
c47a2922
authored
Oct 15, 2007
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export a function to get the install dir of VLC from the plugins
parent
1782c4e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
include/vlc_os_specific.h
include/vlc_os_specific.h
+1
-1
src/misc/win32_specific.c
src/misc/win32_specific.c
+9
-0
No files found.
include/vlc_os_specific.h
View file @
c47a2922
...
...
@@ -35,7 +35,7 @@
#elif defined( __APPLE__ )
/* Nothing at the moment, create darwin_specific.h when needed */
#elif defined( WIN32 ) || defined( UNDER_CE )
/* Nothing at the moment, create win32_specific.h when needed */
VLC_EXPORT
(
const
char
*
,
system_VLCPath
,
(
void
));
#else
# undef _NEED_OS_SPECIFIC_H
#endif
...
...
src/misc/win32_specific.c
View file @
c47a2922
...
...
@@ -368,3 +368,12 @@ void system_End( libvlc_int_t *p_this )
WSACleanup
();
}
/*****************************************************************************
* system_VLCPath
* **************************************************************************/
const
char
*
system_VLCPath
(
void
)
{
libvlc_global_data_t
*
libvlc_global
=
vlc_global
();
return
libvlc_global
->
psz_vlcpath
;
}
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