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
3f424a26
Commit
3f424a26
authored
Feb 07, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc: remove leading underscores
parent
04180282
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
42 additions
and
42 deletions
+42
-42
include/vlc_filter.h
include/vlc_filter.h
+2
-2
include/vlc_image.h
include/vlc_image.h
+2
-2
include/vlc_interface.h
include/vlc_interface.h
+2
-2
include/vlc_strings.h
include/vlc_strings.h
+4
-4
include/vlc_update.h
include/vlc_update.h
+2
-3
include/vlc_xml.h
include/vlc_xml.h
+2
-2
src/interface/intf_eject.c
src/interface/intf_eject.c
+2
-8
src/libvlccore.sym
src/libvlccore.sym
+7
-7
src/misc/filter_chain.c
src/misc/filter_chain.c
+7
-6
src/misc/image.c
src/misc/image.c
+2
-1
src/misc/update.c
src/misc/update.c
+4
-2
src/misc/xml.c
src/misc/xml.c
+2
-1
src/text/strings.c
src/text/strings.c
+4
-2
No files found.
include/vlc_filter.h
View file @
3f424a26
...
@@ -265,8 +265,8 @@ typedef struct filter_chain_t filter_chain_t;
...
@@ -265,8 +265,8 @@ typedef struct filter_chain_t filter_chain_t;
* \param p_buffer_allocation_data pointer to private allocation data
* \param p_buffer_allocation_data pointer to private allocation data
* \return pointer to a filter chain
* \return pointer to a filter chain
*/
*/
VLC_EXPORT
(
filter_chain_t
*
,
__
filter_chain_New
,
(
vlc_object_t
*
,
const
char
*
,
bool
,
int
(
*
)(
filter_t
*
,
void
*
),
void
(
*
)(
filter_t
*
),
void
*
)
);
VLC_EXPORT
(
filter_chain_t
*
,
filter_chain_New
,
(
vlc_object_t
*
,
const
char
*
,
bool
,
int
(
*
)(
filter_t
*
,
void
*
),
void
(
*
)(
filter_t
*
),
void
*
)
);
#define filter_chain_New( a, b, c, d, e, f )
__
filter_chain_New( VLC_OBJECT( a ), b, c, d, e, f )
#define filter_chain_New( a, b, c, d, e, f ) filter_chain_New( VLC_OBJECT( a ), b, c, d, e, f )
/**
/**
* Delete filter chain will delete all filters in the chain and free all
* Delete filter chain will delete all filters in the chain and free all
...
...
include/vlc_image.h
View file @
3f424a26
...
@@ -59,8 +59,8 @@ struct image_handler_t
...
@@ -59,8 +59,8 @@ struct image_handler_t
filter_t
*
p_filter
;
filter_t
*
p_filter
;
};
};
VLC_EXPORT
(
image_handler_t
*
,
__
image_HandlerCreate
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
image_handler_t
*
,
image_HandlerCreate
,
(
vlc_object_t
*
)
);
#define image_HandlerCreate( a )
__
image_HandlerCreate( VLC_OBJECT(a) )
#define image_HandlerCreate( a ) image_HandlerCreate( VLC_OBJECT(a) )
VLC_EXPORT
(
void
,
image_HandlerDelete
,
(
image_handler_t
*
)
);
VLC_EXPORT
(
void
,
image_HandlerDelete
,
(
image_handler_t
*
)
);
#define image_Read( a, b, c, d ) a->pf_read( a, b, c, d )
#define image_Read( a, b, c, d ) a->pf_read( a, b, c, d )
...
...
include/vlc_interface.h
View file @
3f424a26
...
@@ -102,8 +102,8 @@ struct intf_dialog_args_t
...
@@ -102,8 +102,8 @@ struct intf_dialog_args_t
VLC_EXPORT
(
int
,
intf_Create
,
(
vlc_object_t
*
,
const
char
*
)
);
VLC_EXPORT
(
int
,
intf_Create
,
(
vlc_object_t
*
,
const
char
*
)
);
#define intf_Create(a,b) intf_Create(VLC_OBJECT(a),b)
#define intf_Create(a,b) intf_Create(VLC_OBJECT(a),b)
#define intf_Eject(a,b) __intf_Eject(VLC_OBJECT(a),b)
VLC_EXPORT
(
int
,
intf_Eject
,
(
vlc_object_t
*
,
const
char
*
)
);
VLC_EXPORT
(
int
,
__intf_Eject
,
(
vlc_object_t
*
,
const
char
*
)
);
#define intf_Eject(a,b) intf_Eject(VLC_OBJECT(a),b)
VLC_EXPORT
(
void
,
libvlc_Quit
,
(
libvlc_int_t
*
)
);
VLC_EXPORT
(
void
,
libvlc_Quit
,
(
libvlc_int_t
*
)
);
...
...
include/vlc_strings.h
View file @
3f424a26
...
@@ -45,10 +45,10 @@ VLC_EXPORT( size_t, vlc_b64_decode_binary, ( uint8_t **pp_dst, const char *psz_s
...
@@ -45,10 +45,10 @@ VLC_EXPORT( size_t, vlc_b64_decode_binary, ( uint8_t **pp_dst, const char *psz_s
VLC_EXPORT
(
char
*
,
vlc_b64_decode
,
(
const
char
*
psz_src
)
);
VLC_EXPORT
(
char
*
,
vlc_b64_decode
,
(
const
char
*
psz_src
)
);
VLC_EXPORT
(
char
*
,
str_format_time
,
(
const
char
*
)
);
VLC_EXPORT
(
char
*
,
str_format_time
,
(
const
char
*
)
);
#define str_format_meta( a, b ) __str_format_meta( VLC_OBJECT( a ), b )
VLC_EXPORT
(
char
*
,
str_format_meta
,
(
vlc_object_t
*
,
const
char
*
)
);
VLC_EXPORT
(
char
*
,
__str_format_meta
,
(
vlc_object_t
*
,
const
char
*
)
);
#define str_format_meta( a, b ) str_format_meta( VLC_OBJECT( a ), b )
#define str_format( a, b ) __str_format( VLC_OBJECT( a ), b )
VLC_EXPORT
(
char
*
,
str_format
,
(
vlc_object_t
*
,
const
char
*
)
);
VLC_EXPORT
(
char
*
,
__str_format
,
(
vlc_object_t
*
,
const
char
*
)
);
#define str_format( a, b ) str_format( VLC_OBJECT( a ), b )
VLC_EXPORT
(
char
*
,
filename_sanitize
,
(
const
char
*
)
)
LIBVLC_USED
;
VLC_EXPORT
(
char
*
,
filename_sanitize
,
(
const
char
*
)
)
LIBVLC_USED
;
VLC_EXPORT
(
void
,
path_sanitize
,
(
char
*
)
);
VLC_EXPORT
(
void
,
path_sanitize
,
(
char
*
)
);
...
...
include/vlc_update.h
View file @
3f424a26
...
@@ -55,9 +55,8 @@ struct update_release_t
...
@@ -55,9 +55,8 @@ struct update_release_t
typedef
struct
update_release_t
update_release_t
;
typedef
struct
update_release_t
update_release_t
;
#define update_New( a ) __update_New( VLC_OBJECT( a ) )
VLC_EXPORT
(
update_t
*
,
update_New
,
(
vlc_object_t
*
)
);
#define update_New( a ) update_New( VLC_OBJECT( a ) )
VLC_EXPORT
(
update_t
*
,
__update_New
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
update_Delete
,
(
update_t
*
)
);
VLC_EXPORT
(
void
,
update_Delete
,
(
update_t
*
)
);
VLC_EXPORT
(
void
,
update_Check
,
(
update_t
*
,
void
(
*
callback
)(
void
*
,
bool
),
void
*
)
);
VLC_EXPORT
(
void
,
update_Check
,
(
update_t
*
,
void
(
*
callback
)(
void
*
,
bool
),
void
*
)
);
VLC_EXPORT
(
bool
,
update_NeedUpgrade
,
(
update_t
*
)
);
VLC_EXPORT
(
bool
,
update_NeedUpgrade
,
(
update_t
*
)
);
...
...
include/vlc_xml.h
View file @
3f424a26
...
@@ -50,8 +50,8 @@ struct xml_t
...
@@ -50,8 +50,8 @@ struct xml_t
const
char
*
);
const
char
*
);
};
};
#define xml_Create( a ) __xml_Create( VLC_OBJECT(a) )
VLC_EXPORT
(
xml_t
*
,
xml_Create
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
xml_t
*
,
__xml_Create
,
(
vlc_object_t
*
)
);
#define xml_Create( a ) xml_Create( VLC_OBJECT(a) )
VLC_EXPORT
(
void
,
xml_Delete
,
(
xml_t
*
)
);
VLC_EXPORT
(
void
,
xml_Delete
,
(
xml_t
*
)
);
#define xml_ReaderCreate( a, b ) a->pf_reader_create( a, b )
#define xml_ReaderCreate( a, b ) a->pf_reader_create( a, b )
...
...
src/interface/intf_eject.c
View file @
3f424a26
...
@@ -83,13 +83,7 @@
...
@@ -83,13 +83,7 @@
static
int
EjectSCSI
(
int
i_fd
);
static
int
EjectSCSI
(
int
i_fd
);
#endif
#endif
/*****************************************************************************
#undef intf_Eject
* intf_Eject: eject the CDRom
*****************************************************************************
* returns 0 on success
* returns 1 on failure
* returns -1 if not implemented
*****************************************************************************/
/**
/**
* \brief Ejects the CD /DVD
* \brief Ejects the CD /DVD
* \ingroup vlc_interface
* \ingroup vlc_interface
...
@@ -97,7 +91,7 @@ static int EjectSCSI ( int i_fd );
...
@@ -97,7 +91,7 @@ static int EjectSCSI ( int i_fd );
* \param psz_device the CD/DVD to eject
* \param psz_device the CD/DVD to eject
* \return 0 on success, 1 on failure, -1 if not implemented
* \return 0 on success, 1 on failure, -1 if not implemented
*/
*/
int
__
intf_Eject
(
vlc_object_t
*
p_this
,
const
char
*
psz_device
)
int
intf_Eject
(
vlc_object_t
*
p_this
,
const
char
*
psz_device
)
{
{
VLC_UNUSED
(
p_this
);
VLC_UNUSED
(
p_this
);
int
i_ret
=
VLC_SUCCESS
;
int
i_ret
=
VLC_SUCCESS
;
...
...
src/libvlccore.sym
View file @
3f424a26
...
@@ -130,7 +130,7 @@ filter_chain_DeleteFilter
...
@@ -130,7 +130,7 @@ filter_chain_DeleteFilter
filter_chain_GetFmtOut
filter_chain_GetFmtOut
filter_chain_GetLength
filter_chain_GetLength
filter_chain_MouseFilter
filter_chain_MouseFilter
__
filter_chain_New
filter_chain_New
filter_chain_Reset
filter_chain_Reset
filter_chain_SubFilter
filter_chain_SubFilter
filter_chain_VideoFilter
filter_chain_VideoFilter
...
@@ -172,7 +172,7 @@ httpd_UrlDelete
...
@@ -172,7 +172,7 @@ httpd_UrlDelete
httpd_UrlNew
httpd_UrlNew
httpd_UrlNewUnique
httpd_UrlNewUnique
image_Ext2Fourcc
image_Ext2Fourcc
__
image_HandlerCreate
image_HandlerCreate
image_HandlerDelete
image_HandlerDelete
image_Mime2Fourcc
image_Mime2Fourcc
image_Type2Fourcc
image_Type2Fourcc
...
@@ -222,7 +222,7 @@ input_Start
...
@@ -222,7 +222,7 @@ input_Start
input_Stop
input_Stop
input_vaControl
input_vaControl
intf_Create
intf_Create
__
intf_Eject
intf_Eject
IsUTF8
IsUTF8
libvlc_InternalAddIntf
libvlc_InternalAddIntf
libvlc_InternalCleanup
libvlc_InternalCleanup
...
@@ -405,8 +405,8 @@ stream_Read
...
@@ -405,8 +405,8 @@ stream_Read
stream_ReadLine
stream_ReadLine
stream_UrlNew
stream_UrlNew
stream_vaControl
stream_vaControl
__
str_format
str_format
__
str_format_meta
str_format_meta
str_format_time
str_format_time
subpicture_Delete
subpicture_Delete
subpicture_New
subpicture_New
...
@@ -423,7 +423,7 @@ update_Delete
...
@@ -423,7 +423,7 @@ update_Delete
update_Download
update_Download
update_GetRelease
update_GetRelease
update_NeedUpgrade
update_NeedUpgrade
__
update_New
update_New
us_asprintf
us_asprintf
us_atof
us_atof
us_strtod
us_strtod
...
@@ -633,7 +633,7 @@ vout_SetDisplayAspect
...
@@ -633,7 +633,7 @@ vout_SetDisplayAspect
vout_SetDisplayCrop
vout_SetDisplayCrop
vout_display_GetDefaultDisplaySize
vout_display_GetDefaultDisplaySize
vout_display_PlacePicture
vout_display_PlacePicture
__
xml_Create
xml_Create
text_style_Copy
text_style_Copy
text_style_Delete
text_style_Delete
text_style_Duplicate
text_style_Duplicate
...
...
src/misc/filter_chain.c
View file @
3f424a26
...
@@ -97,10 +97,11 @@ static int filter_chain_DeleteFilterInternal( filter_chain_t *, filter_t * );
...
@@ -97,10 +97,11 @@ static int filter_chain_DeleteFilterInternal( filter_chain_t *, filter_t * );
static
int
UpdateBufferFunctions
(
filter_chain_t
*
);
static
int
UpdateBufferFunctions
(
filter_chain_t
*
);
#undef filter_chain_New
/**
/**
* Filter chain initialisation
* Filter chain initialisation
*/
*/
filter_chain_t
*
__
filter_chain_New
(
vlc_object_t
*
p_this
,
filter_chain_t
*
filter_chain_New
(
vlc_object_t
*
p_this
,
const
char
*
psz_capability
,
const
char
*
psz_capability
,
bool
b_allow_fmt_out_change
,
bool
b_allow_fmt_out_change
,
int
(
*
pf_buffer_allocation_init
)(
filter_t
*
,
void
*
),
int
(
*
pf_buffer_allocation_init
)(
filter_t
*
,
void
*
),
...
...
src/misc/image.c
View file @
3f424a26
...
@@ -74,11 +74,12 @@ vlc_fourcc_t image_Type2Fourcc( const char * );
...
@@ -74,11 +74,12 @@ vlc_fourcc_t image_Type2Fourcc( const char * );
vlc_fourcc_t
image_Ext2Fourcc
(
const
char
*
);
vlc_fourcc_t
image_Ext2Fourcc
(
const
char
*
);
/*static const char *Fourcc2Ext( vlc_fourcc_t );*/
/*static const char *Fourcc2Ext( vlc_fourcc_t );*/
#undef image_HandlerCreate
/**
/**
* Create an image_handler_t instance
* Create an image_handler_t instance
*
*
*/
*/
image_handler_t
*
__
image_HandlerCreate
(
vlc_object_t
*
p_this
)
image_handler_t
*
image_HandlerCreate
(
vlc_object_t
*
p_this
)
{
{
image_handler_t
*
p_image
=
calloc
(
1
,
sizeof
(
image_handler_t
)
);
image_handler_t
*
p_image
=
calloc
(
1
,
sizeof
(
image_handler_t
)
);
if
(
!
p_image
)
if
(
!
p_image
)
...
...
src/misc/update.c
View file @
3f424a26
...
@@ -92,13 +92,14 @@
...
@@ -92,13 +92,14 @@
* Update_t functions
* Update_t functions
*****************************************************************************/
*****************************************************************************/
#undef update_New
/**
/**
* Create a new update VLC struct
* Create a new update VLC struct
*
*
* \param p_this the calling vlc_object
* \param p_this the calling vlc_object
* \return pointer to new update_t or NULL
* \return pointer to new update_t or NULL
*/
*/
update_t
*
__
update_New
(
vlc_object_t
*
p_this
)
update_t
*
update_New
(
vlc_object_t
*
p_this
)
{
{
update_t
*
p_update
;
update_t
*
p_update
;
assert
(
p_this
);
assert
(
p_this
);
...
@@ -750,7 +751,8 @@ update_release_t *update_GetRelease( update_t *p_update )
...
@@ -750,7 +751,8 @@ update_release_t *update_GetRelease( update_t *p_update )
}
}
#else
#else
update_t
*
__update_New
(
vlc_object_t
*
p_this
)
#undef update_New
update_t
*
update_New
(
vlc_object_t
*
p_this
)
{
{
(
void
)
p_this
;
(
void
)
p_this
;
return
NULL
;
return
NULL
;
...
...
src/misc/xml.c
View file @
3f424a26
...
@@ -29,13 +29,14 @@
...
@@ -29,13 +29,14 @@
#include "vlc_xml.h"
#include "vlc_xml.h"
#include "../libvlc.h"
#include "../libvlc.h"
#undef xml_Create
/*****************************************************************************
/*****************************************************************************
* xml_Create:
* xml_Create:
*****************************************************************************
*****************************************************************************
* Create an instance of an XML parser.
* Create an instance of an XML parser.
* Returns NULL on error.
* Returns NULL on error.
*****************************************************************************/
*****************************************************************************/
xml_t
*
__
xml_Create
(
vlc_object_t
*
p_this
)
xml_t
*
xml_Create
(
vlc_object_t
*
p_this
)
{
{
xml_t
*
p_xml
;
xml_t
*
p_xml
;
...
...
src/text/strings.c
View file @
3f424a26
...
@@ -625,7 +625,8 @@ char *str_format_time( const char *tformat )
...
@@ -625,7 +625,8 @@ char *str_format_time( const char *tformat )
memcpy( dst+d, string, len ); \
memcpy( dst+d, string, len ); \
d += len; \
d += len; \
}
}
char
*
__str_format_meta
(
vlc_object_t
*
p_object
,
const
char
*
string
)
#undef str_format_meta
char
*
str_format_meta
(
vlc_object_t
*
p_object
,
const
char
*
string
)
{
{
const
char
*
s
=
string
;
const
char
*
s
=
string
;
bool
b_is_format
=
false
;
bool
b_is_format
=
false
;
...
@@ -947,10 +948,11 @@ char *__str_format_meta( vlc_object_t *p_object, const char *string )
...
@@ -947,10 +948,11 @@ char *__str_format_meta( vlc_object_t *p_object, const char *string )
#undef INSERT_STRING
#undef INSERT_STRING
#undef INSERT_STRING_NO_FREE
#undef INSERT_STRING_NO_FREE
#undef str_format
/**
/**
* Apply str format time and str format meta
* Apply str format time and str format meta
*/
*/
char
*
__
str_format
(
vlc_object_t
*
p_this
,
const
char
*
psz_src
)
char
*
str_format
(
vlc_object_t
*
p_this
,
const
char
*
psz_src
)
{
{
char
*
psz_buf1
,
*
psz_buf2
;
char
*
psz_buf1
,
*
psz_buf2
;
psz_buf1
=
str_format_time
(
psz_src
);
psz_buf1
=
str_format_time
(
psz_src
);
...
...
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