Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
98a7eee3
Commit
98a7eee3
authored
May 20, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Force cast to vlc_object_t when calling config_GetDataDir.
parent
18959e10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
include/vlc_configuration.h
include/vlc_configuration.h
+2
-1
src/modules/configuration.c
src/modules/configuration.c
+1
-1
No files found.
include/vlc_configuration.h
View file @
98a7eee3
...
...
@@ -210,7 +210,8 @@ VLC_EXPORT( module_t *, config_FindModule,( vlc_object_t *, const char * ) );
VLC_EXPORT
(
int
,
config_Duplicate
,(
module_t
*
,
const
module_config_t
*
,
size_t
));
VLC_EXPORT
(
const
char
*
,
config_GetDataDir
,
(
const
vlc_object_t
*
));
#define config_GetDataDir( a ) __config_GetDataDir( VLC_OBJECT( a ) )
VLC_EXPORT
(
const
char
*
,
__config_GetDataDir
,
(
const
vlc_object_t
*
));
#define config_GetType(a,b) __config_GetType(VLC_OBJECT(a),b)
#define config_GetInt(a,b) __config_GetInt(VLC_OBJECT(a),b)
...
...
src/modules/configuration.c
View file @
98a7eee3
...
...
@@ -1713,7 +1713,7 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[],
*
* @return a string (always succeeds).
*/
const
char
*
config_GetDataDir
(
const
vlc_object_t
*
p_this
)
const
char
*
__
config_GetDataDir
(
const
vlc_object_t
*
p_this
)
{
#if defined (WIN32) || defined (UNDER_CE)
return
vlc_global
(
p_this
)
->
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