Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
98a7eee3
Commit
98a7eee3
authored
May 20, 2007
by
dionoea
Browse files
* Force cast to vlc_object_t when calling config_GetDataDir.
parent
18959e10
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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