[perl5-dbi/dbi] ba16b2: Correct argument names of XS preparse()

  Branch: refs/heads/master=0D
  Home:   https://github.com/perl5-dbi/dbi=0D
  Commit: ba16b2512013604b82d771b8eb54c9adae239b41=0D
      https://github.com/perl5-dbi/dbi/commit/ba16b2512013604b82d771b8eb5=
4c9adae239b41=0D
  Author: Petr P=C3=ADsa=C5=99 <ppisar@redhat.com>=0D
  Date:   2019-07-25 (Thu, 25 Jul 2019)=0D
=0D
  Changed paths:=0D
    M DBI.xs=0D
=0D
  Log Message:=0D
  -----------=0D
  Correct argument names of XS preparse()=0D
=0D
preparse C function had prototype:=0D
=0D
SV * preparse(SV *dbh, const char *statement, IV ps_return, IV ps_accept,=
 void *foo);=0D
=0D
But XS function had a ps_return and ps_accept argument names swapped:=0D
=0D
SV *=0D
preparse(dbh, statement, ps_accept, ps_return, foo=3DNullch)=0D
    SV *        dbh=0D
=0D
This patch corrects the discrepancy.=0D
=0D
=0D
  Commit: a0e17557590fd913611d8c79a8879b31e42032e4=0D
      https://github.com/perl5-dbi/dbi/commit/a0e17557590fd913611d8c79a88=
79b31e42032e4=0D
  Author: Tim Bunce <Tim.Bunce@pobox.com>=0D
  Date:   2019-07-27 (Sat, 27 Jul 2019)=0D
=0D
  Changed paths:=0D
    M DBI.xs=0D
=0D
  Log Message:=0D
  -----------=0D
  Merge pull request #82 from ppisar/prepare_arg_names=0D
=0D
Correct argument names of XS preparse()=0D
=0D
=0D
Compare: https://github.com/perl5-dbi/dbi/compare/d58bcc98c7f9...a0e17557=
590f=0D
0
noreply
7/27/2019 10:04:43 AM
perl.dbi.dev 1960 articles. 0 followers. Follow

0 Replies
196 Views

Similar Articles

[PageSpeed] 6

Reply: