1
0
mirror of http://mpg123.de/trunk/.git synced 2025-08-07 21:02:55 +03:00

Made a script for filtering out the EXPORTed symbols and ran that instead of caring myself for inclusion of mpg123_fmt and what else I forgot.

git-svn-id: svn://scm.orgis.org/mpg123/trunk@1094 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2007-11-09 13:14:53 +00:00
parent 331998f6b7
commit 8b31fc3aef
2 changed files with 26 additions and 8 deletions

13
scripts/exportsym.pl Normal file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/perl
print STDERR "I am filtering the EXPORT symbols out of some header you give me to STDIN.\n";
while(<STDIN>)
{
if(/^EXPORT\s+([^\(\[]+)/)
{
my $sym = $1;
# some type symname
$sym =~ s/^.*\s(\S+)\s*$/$1/;
$sym =~ s/^\*+//;
print $sym,"\n";
}
}