From 8b31fc3aef51ead14a6f3029b45ad10c5d80f6c1 Mon Sep 17 00:00:00 2001 From: thor Date: Fri, 9 Nov 2007 13:14:53 +0000 Subject: [PATCH] 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 --- scripts/exportsym.pl | 13 +++++++++++++ src/libmpg123/libmpg123.sym | 21 +++++++++++++-------- 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 scripts/exportsym.pl diff --git a/scripts/exportsym.pl b/scripts/exportsym.pl new file mode 100644 index 00000000..7375433a --- /dev/null +++ b/scripts/exportsym.pl @@ -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() +{ + if(/^EXPORT\s+([^\(\[]+)/) + { + my $sym = $1; + # some type symname + $sym =~ s/^.*\s(\S+)\s*$/$1/; + $sym =~ s/^\*+//; + print $sym,"\n"; + } +} diff --git a/src/libmpg123/libmpg123.sym b/src/libmpg123/libmpg123.sym index 0d372303..a64d968f 100644 --- a/src/libmpg123/libmpg123.sym +++ b/src/libmpg123/libmpg123.sym @@ -3,6 +3,8 @@ mpg123_exit mpg123_new mpg123_parnew mpg123_delete +mpg123_new_pars +mpg123_delete_pars mpg123_decoders mpg123_supported_decoders mpg123_decoder @@ -12,14 +14,16 @@ mpg123_errcode mpg123_rates mpg123_encodings mpg123_format_none +mpg123_fmt_none mpg123_format_all +mpg123_fmt_all mpg123_format +mpg123_fmt mpg123_format_support +mpg123_fmt_support mpg123_getformat mpg123_param mpg123_getparam -mpg123_new_pars -mpg123_delete_pars mpg123_par mpg123_getpar mpg123_eq @@ -27,20 +31,26 @@ mpg123_reset_eq mpg123_volume mpg123_volume_change mpg123_getvolume +mpg123_tell +mpg123_tellframe +mpg123_length +mpg123_scan mpg123_position mpg123_tpf mpg123_open mpg123_open_feed mpg123_open_fd +mpg123_replace_reader mpg123_read mpg123_decode mpg123_decode_frame mpg123_clip mpg123_close -mpg123_seek_frame mpg123_timeframe mpg123_print_index mpg123_seek +mpg123_feedseek +mpg123_seek_frame mpg123_info mpg123_safe_buffer mpg123_outblock @@ -54,8 +64,3 @@ mpg123_set_string mpg123_meta_check mpg123_id3 mpg123_icy -mpg123_tell -mpg123_feedseek -mpg123_scan -mpg123_length -mpg123_replace_reader