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
66133677
Commit
66133677
authored
Feb 18, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ugly usage of vlc_symbols.h when building libvlc as a shared library
parent
e9fb749a
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
503 deletions
+16
-503
include/vlc_common.h
include/vlc_common.h
+4
-2
include/vlc_symbols.h
include/vlc_symbols.h
+6
-473
vlc-api.pl
vlc-api.pl
+6
-28
No files found.
include/vlc_common.h
View file @
66133677
...
@@ -440,7 +440,7 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
...
@@ -440,7 +440,7 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
/*****************************************************************************
/*****************************************************************************
* Plug-in stuff
* Plug-in stuff
*****************************************************************************/
*****************************************************************************/
#if
ndef __PLUGIN__
#if
!defined (__PLUGIN__) || defined (HAVE_SHARED_LIBVLC)
# define VLC_EXPORT( type, name, args ) type name args
# define VLC_EXPORT( type, name, args ) type name args
#else
#else
# define VLC_EXPORT( type, name, args ) struct _u_n_u_s_e_d_
# define VLC_EXPORT( type, name, args ) struct _u_n_u_s_e_d_
...
@@ -1130,7 +1130,9 @@ VLC_EXPORT( const char *, VLC_Error, ( int ) );
...
@@ -1130,7 +1130,9 @@ VLC_EXPORT( const char *, VLC_Error, ( int ) );
/*****************************************************************************
/*****************************************************************************
* Additional vlc stuff
* Additional vlc stuff
*****************************************************************************/
*****************************************************************************/
#include "vlc_symbols.h"
#ifndef HAVE_SHARED_LIBVLC
# include "vlc_symbols.h"
#endif
#include "os_specific.h"
#include "os_specific.h"
#include "vlc_messages.h"
#include "vlc_messages.h"
#include "variables.h"
#include "variables.h"
...
...
include/vlc_symbols.h
View file @
66133677
This diff is collapsed.
Click to expand it.
vlc-api.pl
View file @
66133677
...
@@ -55,29 +55,8 @@ print { $new_sym }
...
@@ -55,29 +55,8 @@ print { $new_sym }
"
# define __VLC_SYMBOLS_H
\n
"
.
"
# define __VLC_SYMBOLS_H
\n
"
.
"
\n
"
.
"
\n
"
.
"
# ifdef HAVE_SHARED_LIBVLC
\n
"
.
"
# ifdef HAVE_SHARED_LIBVLC
\n
"
.
"
/*
\n
"
.
"
# error You are not supposed to include this file!
\n
"
.
"
* In an ideal world, plugins would include all the headers they need.
\n
"
.
"
* But of course, many, if not all, of them don't, so we have to make sure
\n
"
.
"
* the whole libvlc API is defined here in any case when included from a
\n
"
.
"
* plugin.
\n
"
.
"
*/
\n
"
.
"
# ifdef __PLUGIN__
\n
"
.
"
# ifdef __cplusplus
\n
"
.
"
extern
\"
C
\"
{
\n
"
.
"
# endif
\n
";
foreach
(
keys
%
new_APIs
)
{
print
{
$new_sym
}
$new_APIs
{
$_
}[
0
]
.
"
$_
(
"
.
$new_APIs
{
$_
}[
1
]
.
"
);
\n
";
}
print
{
$new_sym
}
"
# ifdef __cplusplus
\n
"
.
"
}
\n
"
.
"
# endif
\n
"
.
"
# endif
\n
"
.
"
# endif /* __PLUGIN__ */
\n
"
.
"
# else /* HAVE_LIBVLC_SHARED */
\n
"
.
"
/*
\n
"
.
"
/*
\n
"
.
"
* This is the big VLC API structure for plugins :
\n
"
.
"
* This is the big VLC API structure for plugins :
\n
"
.
"
* Changing its layout breaks plugin's binary compatibility,
\n
"
.
"
* Changing its layout breaks plugin's binary compatibility,
\n
"
.
...
@@ -205,7 +184,6 @@ foreach (@deprecated_API)
...
@@ -205,7 +184,6 @@ foreach (@deprecated_API)
print
{
$new_sym
}
print
{
$new_sym
}
"
\n
"
.
"
\n
"
.
"
# endif /* __PLUGIN__ */
\n
"
.
"
# endif /* __PLUGIN__ */
\n
"
.
"
# endif /* HAVE_SHARED_LIBVLC */
\n
"
.
"
#endif /* __VLC_SYMBOLS_H */
\n
";
"
#endif /* __VLC_SYMBOLS_H */
\n
";
close
$new_sym
;
close
$new_sym
;
...
...
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