1
0
mirror of http://mpg123.de/trunk/.git synced 2025-10-25 04:37:34 +03:00

Add missing _64 aliases for open functions.

git-svn-id: svn://scm.orgis.org/mpg123/trunk@2710 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2010-05-29 23:19:05 +00:00
parent 684d8ab821
commit a0ebed5da1

View File

@@ -36,7 +36,7 @@ if(/^\s*EXPORT\s+(\S+)\s+(mpg123_\S+)\((.*)\);\s*$/)
my $type = $1; my $type = $1;
my $name = $2; my $name = $2;
my $args = $3; my $args = $3;
next unless ($type =~ /off_t/ or $args =~ /off_t/); next unless ($type =~ /off_t/ or $args =~ /off_t/ or ($name =~ /open/ and $name ne mpg123_open_feed));
$type =~ s/off_t/long/g; $type =~ s/off_t/long/g;
my @nargs = (); my @nargs = ();
$args =~ s/off_t/long/g; $args =~ s/off_t/long/g;
@@ -57,6 +57,21 @@ EOT
}' < mpg123.h.in }' < mpg123.h.in
*/ */
int attribute_align_arg ALIAS_NAME(mpg123_open)(mpg123_handle *mh, const char *path)
{
return mpg123_open(mh, path);
}
int attribute_align_arg ALIAS_NAME(mpg123_open_fd)(mpg123_handle *mh, int fd)
{
return mpg123_open_fd(mh, fd);
}
int attribute_align_arg ALIAS_NAME(mpg123_open_handle)(mpg123_handle *mh, void *iohandle)
{
return mpg123_open_handle(mh, iohandle);
}
int attribute_align_arg ALIAS_NAME(mpg123_decode_frame)(mpg123_handle *mh, long *num, unsigned char **audio, size_t *bytes) int attribute_align_arg ALIAS_NAME(mpg123_decode_frame)(mpg123_handle *mh, long *num, unsigned char **audio, size_t *bytes)
{ {
return mpg123_decode_frame(mh, num, audio, bytes); return mpg123_decode_frame(mh, num, audio, bytes);