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
213957d2
Commit
213957d2
authored
Jul 16, 2001
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added intf_DbgMsg and intf_DbgMsgImm symbols to modules_export.h This fixes the TRACE build.
parent
30d93eb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
4 deletions
+25
-4
include/modules_export.h
include/modules_export.h
+18
-0
src/interface/main.c
src/interface/main.c
+3
-3
src/misc/modules.c
src/misc/modules.c
+4
-1
No files found.
include/modules_export.h
View file @
213957d2
...
@@ -42,6 +42,10 @@ typedef struct module_symbols_s
...
@@ -42,6 +42,10 @@ typedef struct module_symbols_s
void
(
*
intf_ErrMsg
)
(
char
*
,
...
);
void
(
*
intf_ErrMsg
)
(
char
*
,
...
);
void
(
*
intf_WarnMsg
)
(
int
,
char
*
,
...
);
void
(
*
intf_WarnMsg
)
(
int
,
char
*
,
...
);
void
(
*
intf_WarnMsgImm
)
(
int
,
char
*
,
...
);
void
(
*
intf_WarnMsgImm
)
(
int
,
char
*
,
...
);
#ifdef TRACE
void
(
*
intf_DbgMsg
)
(
char
*
,
char
*
,
int
,
char
*
,
...
);
void
(
*
intf_DbgMsgImm
)
(
char
*
,
char
*
,
int
,
char
*
,
...
);
#endif
int
(
*
intf_PlaylistAdd
)
(
struct
playlist_s
*
,
int
,
const
char
*
);
int
(
*
intf_PlaylistAdd
)
(
struct
playlist_s
*
,
int
,
const
char
*
);
int
(
*
intf_PlaylistDelete
)
(
struct
playlist_s
*
,
int
);
int
(
*
intf_PlaylistDelete
)
(
struct
playlist_s
*
,
int
);
...
@@ -181,6 +185,10 @@ typedef struct module_symbols_s
...
@@ -181,6 +185,10 @@ typedef struct module_symbols_s
(p_symbols)->input_NetlistDeletePES = input_NetlistDeletePES; \
(p_symbols)->input_NetlistDeletePES = input_NetlistDeletePES; \
(p_symbols)->input_NetlistEnd = input_NetlistEnd;
(p_symbols)->input_NetlistEnd = input_NetlistEnd;
#define STORE_TRACE_SYMBOLS( p_symbols ) \
(p_symbols)->intf_DbgMsg = _intf_DbgMsg; \
(p_symbols)->intf_DbgMsgImm = _intf_DbgMsgImm;
#ifdef PLUGIN
#ifdef PLUGIN
extern
module_symbols_t
*
p_symbols
;
extern
module_symbols_t
*
p_symbols
;
...
@@ -204,6 +212,16 @@ extern module_symbols_t* p_symbols;
...
@@ -204,6 +212,16 @@ extern module_symbols_t* p_symbols;
# define intf_ErrMsg p_symbols->intf_ErrMsg
# define intf_ErrMsg p_symbols->intf_ErrMsg
# define intf_WarnMsg p_symbols->intf_WarnMsg
# define intf_WarnMsg p_symbols->intf_WarnMsg
# define intf_WarnMsgImm p_symbols->intf_WarnMsgImm
# define intf_WarnMsgImm p_symbols->intf_WarnMsgImm
#ifdef TRACE
# undef intf_DbgMsg
# undef intf_DbgMsgImm
# define intf_DbgMsg( format, args... ) \
p_symbols->intf_DbgMsg( __FILE__, __FUNCTION__, \
__LINE__, format, ## args )
# define intf_DbgMsgImm( format, args... ) \
p_symbols->intf_DbgMsgImm( __FILE__, __FUNCTION__, \
__LINE__, format, ## args )
#endif
# define intf_PlaylistAdd(a,b,c) p_symbols->intf_PlaylistAdd(a,b,c)
# define intf_PlaylistAdd(a,b,c) p_symbols->intf_PlaylistAdd(a,b,c)
# define intf_PlaylistDelete(a,b) p_symbols->intf_PlaylistDelete(a,b)
# define intf_PlaylistDelete(a,b) p_symbols->intf_PlaylistDelete(a,b)
...
...
src/interface/main.c
View file @
213957d2
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* and spawn threads.
* and spawn threads.
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: main.c,v 1.10
6 2001/06/27 06:29:59
gbazin Exp $
* $Id: main.c,v 1.10
7 2001/07/16 22:00:45
gbazin Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -860,9 +860,9 @@ static void Usage( int i_fashion )
...
@@ -860,9 +860,9 @@ static void Usage( int i_fashion )
/* Interface parameters */
/* Interface parameters */
intf_MsgImm
(
"
\n
Interface parameters:"
intf_MsgImm
(
"
\n
Interface parameters:"
"
\n
"
INTF_METHOD_VAR
"=<method name>
\t
interface method"
"
\n
"
INTF_METHOD_VAR
"=<method name>
\t
interface method"
"
\n
"
INTF_INIT_SCRIPT_VAR
"=<filename>
\t
initialization script"
"
\n
"
INTF_INIT_SCRIPT_VAR
"=<filename>
\t
initialization script"
"
\n
"
INTF_CHANNELS_VAR
"=<filename>
\t
channels list"
"
\n
"
INTF_CHANNELS_VAR
"=<filename>
\t
channels list"
"
\n
"
INTF_STDOUT_VAR
"=<filename>
\t
redirect console stdout"
);
"
\n
"
INTF_STDOUT_VAR
"=<filename>
\t
redirect console stdout"
);
/* Audio parameters */
/* Audio parameters */
intf_MsgImm
(
"
\n
Audio parameters:"
intf_MsgImm
(
"
\n
Audio parameters:"
...
...
src/misc/modules.c
View file @
213957d2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* modules.c : Built-in and plugin modules management functions
* modules.c : Built-in and plugin modules management functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.3
8 2001/07/11 02:01:05 sam
Exp $
* $Id: modules.c,v 1.3
9 2001/07/16 22:00:45 gbazin
Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
...
@@ -141,6 +141,9 @@ void module_InitBank( void )
...
@@ -141,6 +141,9 @@ void module_InitBank( void )
* Store the symbols to be exported
* Store the symbols to be exported
*/
*/
STORE_SYMBOLS
(
&
symbols
);
STORE_SYMBOLS
(
&
symbols
);
#ifdef TRACE
STORE_TRACE_SYMBOLS
(
&
symbols
);
#endif
/*
/*
* Check all the built-in modules
* Check all the built-in modules
...
...
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