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
d8e17ad4
Commit
d8e17ad4
authored
Apr 14, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of useless p_symbols
parent
aaab472c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
include/vlc_modules.h
include/vlc_modules.h
+4
-4
include/vlc_modules_macros.h
include/vlc_modules_macros.h
+7
-3
No files found.
include/vlc_modules.h
View file @
d8e17ad4
...
...
@@ -95,10 +95,10 @@ struct module_t
vlc_bool_t
b_builtin
;
/* Set to true if the module is built in */
vlc_bool_t
b_loaded
;
/* Set to true if the dll is loaded */
/*
* Symbol table we send to the module so that it can access vlc symbols
*/
#ifndef HAVE_SHARED_LIBVLC
/* Legacy symbols table */
module_symbols_t
*
p_symbols
;
#endif
};
/*****************************************************************************
...
...
@@ -129,5 +129,5 @@ enum
VLC_MODULE_CB_OPEN
,
VLC_MODULE_CB_CLOSE
,
VLC_MODULE_UNLOADABLE
}
vlc_module_property_t
;
};
include/vlc_modules_macros.h
View file @
d8e17ad4
...
...
@@ -59,12 +59,16 @@
#if defined( __BUILTIN__ )
# define E_( function ) CONCATENATE( function, MODULE_NAME )
# define __VLC_SYMBOL( symbol ) CONCATENATE( symbol, MODULE_NAME )
# define DECLARE_SYMBOLS struct _u_n_u_s_e_d_
# define STORE_SYMBOLS struct _u_n_u_s_e_d_
#elif defined( __PLUGIN__ )
# define E_( function ) CONCATENATE( function, MODULE_SYMBOL )
# define __VLC_SYMBOL( symbol ) CONCATENATE( symbol, MODULE_SYMBOL )
# define DECLARE_SYMBOLS module_symbols_t* p_symbols
#endif
#if defined( __BUILTIN__ ) || defined( HAVE_SHARED_LIBVLC )
# define DECLARE_SYMBOLS struct _u_n_u_s_e_d_
# define STORE_SYMBOLS struct _u_n_u_s_e_d_
#else
# define DECLARE_SYMBOLS module_symbols_t* p_symbols = NULL
# define STORE_SYMBOLS p_symbols = p_module->p_symbols
#endif
...
...
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