Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
04d60a3e
Commit
04d60a3e
authored
Nov 22, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate libvlc.sym separately from vlc_symbols.h
parent
3ebd0d5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
src/Makefile.am
src/Makefile.am
+5
-3
vlc-api.pl
vlc-api.pl
+0
-4
No files found.
src/Makefile.am
View file @
04d60a3e
...
...
@@ -386,9 +386,11 @@ stamp-api: Makefile.in $(HEADERS_include) ../vlc-api.pl
top_srcdir
=
"
$(top_srcdir)
"
perl
$(top_srcdir)
/vlc-api.pl
touch
stamp-api
libvlc.sym
:
rm
-f
stamp-api
$(MAKE)
stamp-api
libvlc.sym
:
$(HEADERS_include)
rm
-f
libvlc.sym
(
cd
$(srcdir)
&&
cat
$(HEADERS_include)
)
|
\
sed
-ne
's/^.*VLC_EXPORT\s*(\s*\w.*\S\s*,\s*\(\w*\)\s*,\s*(\s*\w.*\S\s*)\s*)[^)]*$$/\1/p'
\
>
libvlc.sym
###############################################################################
# Unit/regression test
...
...
vlc-api.pl
View file @
04d60a3e
...
...
@@ -32,19 +32,15 @@ my $srcdir = $ENV{'top_srcdir'};
#
my
%
new_APIs
;
my
$new_sym
=
IO::
Handle
->
new
();
open
$new_sym
,
'
> libvlc.sym
'
or
die
"
libvlc.sym: $!
\n
";
while
(
<
STDIN
>
)
{
if
(
/VLC_EXPORT\(\s*(\w.*\S)\s*,\s*(\w*)\s*,\s*\(\s*(\w.*\S)\s*\)\s*\)[^)]*$/
)
{
$new_APIs
{
$2
}
=
[
(
$1
,
$3
)
];
print
{
$new_sym
}
"
$2
\n
";
}
}
close
$new_sym
;
#
# Write header's header
#
...
...
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