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:
13
scripts/exportsym.pl
Normal file
13
scripts/exportsym.pl
Normal 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";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user