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
bc3065cc
Commit
bc3065cc
authored
Jun 07, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include copyright and license message in each plugin
parent
b19b0c51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
include/vlc_plugin.h
include/vlc_plugin.h
+23
-1
No files found.
include/vlc_plugin.h
View file @
bc3065cc
...
@@ -107,7 +107,8 @@ E_(vlc_entry) ( module_t *p_module );
...
@@ -107,7 +107,8 @@ E_(vlc_entry) ( module_t *p_module );
\
\
error: \
error: \
return VLC_EGENERIC; \
return VLC_EGENERIC; \
}
} \
VLC_METADATA_EXPORTS
#define add_submodule( ) \
#define add_submodule( ) \
p_submodule = vlc_submodule_create( p_module );
p_submodule = vlc_submodule_create( p_module );
...
@@ -448,4 +449,25 @@ enum vlc_config_properties
...
@@ -448,4 +449,25 @@ enum vlc_config_properties
#define change_safe() \
#define change_safe() \
vlc_config_set (p_config, VLC_CONFIG_SAFE);
vlc_config_set (p_config, VLC_CONFIG_SAFE);
/* Meta data plugin exports */
#define VLC_META_EXPORT( name, value ) \
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \
__VLC_SYMBOL(vlc_entry_ ## name) (void) \
{ \
return value; \
}
#if defined (__LIBVLC__)
# define VLC_COPYRIGHT_EXPORT VLC_META_EXPORT (copyright, COPYRIGHT_MESSAGE)
#elif !defined (VLC_COPYRIGHT_EXPORT)
# define VLC_COPYRIGHT_EXPORT
#endif
#define VLC_LICENSE_EXPORT VLC_META_EXPORT (license, \
"Licensed under the terms of the GNU General Public License, " \
"version 2 or later.")
#define VLC_METADATA_EXPORTS \
VLC_COPYRIGHT_EXPORT \
VLC_LICENSE_EXPORT
#endif
#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