1
0
mirror of http://mpg123.de/trunk/.git synced 2025-08-06 10:02:38 +03:00

intsym: formally include libsyn123, drop static

git-svn-id: svn://scm.orgis.org/mpg123/trunk@4501 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2019-07-23 08:45:34 +00:00
parent a82137a79e
commit 85b111bc07
2 changed files with 3 additions and 5 deletions

View File

@@ -32,9 +32,10 @@ my @instances =
libout123/wav libout123/wav
libout123/out123_int libout123/out123_int
libout123/stringlists libout123/stringlists
libsyn123/syn123_int
)] )]
, prefix => 'INT123_' , prefix => 'INT123_'
, apiprefix => 'mpg123_|out123_' , apiprefix => 'mpg123_|out123_|syn123_'
, conditional => { strerror=>'HAVE_STRERROR' } , conditional => { strerror=>'HAVE_STRERROR' }
, symbols => [qw(COS9 tfcos36 pnts catchsignal)] # extra symbols , symbols => [qw(COS9 tfcos36 pnts catchsignal)] # extra symbols
} }
@@ -61,7 +62,7 @@ for my $i (@instances)
if(/^([^\s\(#][^\(]*)\s\*?([a-z][a-z_0-9]+)\s*\(/) if(/^([^\s\(#][^\(]*)\s\*?([a-z][a-z_0-9]+)\s*\(/)
{ {
# Skip preprocessing/comment stuff and official API. # Skip preprocessing/comment stuff and official API.
unless($1 =~ '^#' or $1 =~ '/\*' or $2 =~ $apiex) unless($1 =~ '^#' or $1 =~ '/\*' or $2 =~ $apiex or $1 =~ /\bstatic\b/)
{ {
push(@symbols, $2) unless grep {$_ eq $2} (keys %{$i->{conditional}}); push(@symbols, $2) unless grep {$_ eq $2} (keys %{$i->{conditional}});
} }

View File

@@ -202,7 +202,6 @@
#define frame_set_seek INT123_frame_set_seek #define frame_set_seek INT123_frame_set_seek
#define frame_tell_seek INT123_frame_tell_seek #define frame_tell_seek INT123_frame_tell_seek
#define frame_fill_toc INT123_frame_fill_toc #define frame_fill_toc INT123_frame_fill_toc
#define getbits INT123_getbits
#define getcpuflags INT123_getcpuflags #define getcpuflags INT123_getcpuflags
#define icy2utf8 INT123_icy2utf8 #define icy2utf8 INT123_icy2utf8
#define init_icy INT123_init_icy #define init_icy INT123_init_icy
@@ -220,8 +219,6 @@
#define fi_add INT123_fi_add #define fi_add INT123_fi_add
#define fi_set INT123_fi_set #define fi_set INT123_fi_set
#define fi_reset INT123_fi_reset #define fi_reset INT123_fi_reset
#define double_to_long_rounded INT123_double_to_long_rounded
#define scale_rounded INT123_scale_rounded
#define decode_update INT123_decode_update #define decode_update INT123_decode_update
#define decoder_synth_bytes INT123_decoder_synth_bytes #define decoder_synth_bytes INT123_decoder_synth_bytes
#define samples_to_bytes INT123_samples_to_bytes #define samples_to_bytes INT123_samples_to_bytes