Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
0ec6ee7c
Commit
0ec6ee7c
authored
Feb 07, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common: remove leading underscores
parent
7b1cd547
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
include/vlc_common.h
include/vlc_common.h
+4
-4
src/extras/libc.c
src/extras/libc.c
+5
-4
src/libvlccore.sym
src/libvlccore.sym
+1
-1
No files found.
include/vlc_common.h
View file @
0ec6ee7c
...
@@ -156,13 +156,13 @@ typedef uint32_t vlc_fourcc_t;
...
@@ -156,13 +156,13 @@ typedef uint32_t vlc_fourcc_t;
* \param fcc a vlc_fourcc_t
* \param fcc a vlc_fourcc_t
* \param psz_fourcc string to store string representation of vlc_fourcc in
* \param psz_fourcc string to store string representation of vlc_fourcc in
*/
*/
static
inline
void
__
vlc_fourcc_to_char
(
vlc_fourcc_t
fcc
,
char
*
psz_fourcc
)
static
inline
void
vlc_fourcc_to_char
(
vlc_fourcc_t
fcc
,
char
*
psz_fourcc
)
{
{
memcpy
(
psz_fourcc
,
&
fcc
,
4
);
memcpy
(
psz_fourcc
,
&
fcc
,
4
);
}
}
#define vlc_fourcc_to_char( a, b ) \
#define vlc_fourcc_to_char( a, b ) \
__
vlc_fourcc_to_char( (vlc_fourcc_t)(a), (char *)(b) )
vlc_fourcc_to_char( (vlc_fourcc_t)(a), (char *)(b) )
/*****************************************************************************
/*****************************************************************************
* Classes declaration
* Classes declaration
...
@@ -839,8 +839,8 @@ VLC_EXPORT( size_t, vlc_iconv, ( vlc_iconv_t, const char **, size_t *, char **,
...
@@ -839,8 +839,8 @@ VLC_EXPORT( size_t, vlc_iconv, ( vlc_iconv_t, const char **, size_t *, char **,
VLC_EXPORT
(
int
,
vlc_iconv_close
,
(
vlc_iconv_t
)
);
VLC_EXPORT
(
int
,
vlc_iconv_close
,
(
vlc_iconv_t
)
);
/* execve wrapper (defined in src/extras/libc.c) */
/* execve wrapper (defined in src/extras/libc.c) */
VLC_EXPORT
(
int
,
__
vlc_execve
,
(
vlc_object_t
*
p_object
,
int
i_argc
,
char
*
const
*
pp_argv
,
char
*
const
*
pp_env
,
const
char
*
psz_cwd
,
const
char
*
p_in
,
size_t
i_in
,
char
**
pp_data
,
size_t
*
pi_data
)
LIBVLC_USED
);
VLC_EXPORT
(
int
,
vlc_execve
,
(
vlc_object_t
*
p_object
,
int
i_argc
,
char
*
const
*
pp_argv
,
char
*
const
*
pp_env
,
const
char
*
psz_cwd
,
const
char
*
p_in
,
size_t
i_in
,
char
**
pp_data
,
size_t
*
pi_data
)
LIBVLC_USED
);
#define vlc_execve(a,b,c,d,e,f,g,h,i)
__
vlc_execve(VLC_OBJECT(a),b,c,d,e,f,g,h,i)
#define vlc_execve(a,b,c,d,e,f,g,h,i) vlc_execve(VLC_OBJECT(a),b,c,d,e,f,g,h,i)
/* dir wrappers (defined in src/extras/libc.c) */
/* dir wrappers (defined in src/extras/libc.c) */
VLC_EXPORT
(
int
,
vlc_wclosedir
,
(
void
*
_p_dir
));
VLC_EXPORT
(
int
,
vlc_wclosedir
,
(
void
*
_p_dir
));
...
...
src/extras/libc.c
View file @
0ec6ee7c
...
@@ -581,11 +581,12 @@ bool vlc_ureduce( unsigned *pi_dst_nom, unsigned *pi_dst_den,
...
@@ -581,11 +581,12 @@ bool vlc_ureduce( unsigned *pi_dst_nom, unsigned *pi_dst_den,
return
b_exact
;
return
b_exact
;
}
}
#undef vlc_execve
/*************************************************************************
/*************************************************************************
* vlc_execve: Execute an external program with a given environment,
* vlc_execve: Execute an external program with a given environment,
* wait until it finishes and return its standard output
* wait until it finishes and return its standard output
*************************************************************************/
*************************************************************************/
int
__
vlc_execve
(
vlc_object_t
*
p_object
,
int
i_argc
,
char
*
const
*
ppsz_argv
,
int
vlc_execve
(
vlc_object_t
*
p_object
,
int
i_argc
,
char
*
const
*
ppsz_argv
,
char
*
const
*
ppsz_env
,
const
char
*
psz_cwd
,
char
*
const
*
ppsz_env
,
const
char
*
psz_cwd
,
const
char
*
p_in
,
size_t
i_in
,
const
char
*
p_in
,
size_t
i_in
,
char
**
pp_data
,
size_t
*
pi_data
)
char
**
pp_data
,
size_t
*
pi_data
)
...
...
src/libvlccore.sym
View file @
0ec6ee7c
...
@@ -491,7 +491,7 @@ vlc_event_manager_fini
...
@@ -491,7 +491,7 @@ vlc_event_manager_fini
vlc_event_manager_init
vlc_event_manager_init
vlc_event_manager_register_event_type
vlc_event_manager_register_event_type
vlc_event_send
vlc_event_send
__
vlc_execve
vlc_execve
vlc_fastmem_register
vlc_fastmem_register
vlc_freeaddrinfo
vlc_freeaddrinfo
vlc_fourcc_GetCodec
vlc_fourcc_GetCodec
...
...
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