Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
9522bf4f
Commit
9522bf4f
authored
Mar 14, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/dvbpsi_private.h: Fix building with HAVE_VARIADIC_MACROS.
parent
ddda1724
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/dvbpsi.h
src/dvbpsi.h
+2
-2
src/dvbpsi_private.h
src/dvbpsi_private.h
+6
-6
No files found.
src/dvbpsi.h
View file @
9522bf4f
...
...
@@ -42,7 +42,7 @@ extern "C" {
#endif
/*****************************************************************************
* dvbpsi_
handle
* dvbpsi_
t
*****************************************************************************/
/*!
* \typedef struct dvbpsi_s dvbpsi_t
...
...
@@ -66,7 +66,7 @@ typedef enum dvbpsi_msg_level
* dvbpsi_message_cb
*****************************************************************************/
/*!
* \typedef void (* dvbpsi_message_cb)(dvbpsi_
handle
p_decoder,
* \typedef void (* dvbpsi_message_cb)(dvbpsi_
t *
p_decoder,
* const dvbpse_msg_level_t level,
* const char* msg)
* \brief Callback type definition.
...
...
src/dvbpsi_private.h
View file @
9522bf4f
...
...
@@ -40,14 +40,14 @@ extern uint32_t dvbpsi_crc32_table[];
*****************************************************************************/
#ifdef HAVE_VARIADIC_MACROS
void
message
(
dvbpsi_
handle
dvbpsi
,
const
int
level
,
const
char
*
fmt
,
...);
void
message
(
dvbpsi_
t
*
dvbpsi
,
const
int
level
,
const
char
*
fmt
,
...);
# define dvbpsi_error(hnd, src, str, x...) \
message(hnd, DVBPSI_MSG_ERROR, "libdvbpsi error ("src"): " str, x)
# define dvbpsi_warning(hnd, str, x...) \
message(hnd, DVBPSI_MSG_WARNING, "libdvbpsi warning ("src"): " str, x)
# define dvbpsi_debug(hnd, str, x...) \
message(hnd, DVBPSI_MSG_DEBUG, "libdvbpsi debug ("src"): " str, x)
message(hnd, DVBPSI_MSG_ERROR, "libdvbpsi error ("src"): " str,
##
x)
# define dvbpsi_warning(hnd, s
rc, s
tr, x...) \
message(hnd, DVBPSI_MSG_WARNING, "libdvbpsi warning ("src"): " str,
##
x)
# define dvbpsi_debug(hnd, s
rc, s
tr, x...) \
message(hnd, DVBPSI_MSG_DEBUG, "libdvbpsi debug ("src"): " str,
##
x)
#else
void
dvbpsi_error
(
dvbpsi_t
*
dvbpsi
,
const
char
*
src
,
const
char
*
fmt
,
...);
void
dvbpsi_warning
(
dvbpsi_t
*
dvbpsi
,
const
char
*
src
,
const
char
*
fmt
,
...);
...
...
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