develooper Front page | perl.dbi.dev | Postings from July 2019

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

From:
Tim Bunce
Date:
July 31, 2019 04:22
Subject:
[perl5-dbi/dbi] ba16b2: Correct argument names of XS preparse()
Message ID:
perl5-dbi/dbi/push/refs/heads/master/d58bcc-a0e175@github.com
  Branch: refs/heads/master

  Home:   https://github.com/perl5-dbi/dbi

  Commit: ba16b2512013604b82d771b8eb54c9adae239b41

      https://github.com/perl5-dbi/dbi/commit/ba16b2512013604b82d771b8eb54c9adae239b41

  Author: Petr Písař <ppisar@redhat.com>

  Date:   2019-07-25 (Thu, 25 Jul 2019)



  Changed paths:

    M DBI.xs



  Log Message:

  -----------

  Correct argument names of XS preparse()



preparse C function had prototype:



SV * preparse(SV *dbh, const char *statement, IV ps_return, IV ps_accept, void *foo);



But XS function had a ps_return and ps_accept argument names swapped:



SV *

preparse(dbh, statement, ps_accept, ps_return, foo=Nullch)

    SV *        dbh



This patch corrects the discrepancy.





  Commit: a0e17557590fd913611d8c79a8879b31e42032e4

      https://github.com/perl5-dbi/dbi/commit/a0e17557590fd913611d8c79a8879b31e42032e4

  Author: Tim Bunce <Tim.Bunce@pobox.com>

  Date:   2019-07-27 (Sat, 27 Jul 2019)



  Changed paths:

    M DBI.xs



  Log Message:

  -----------

  Merge pull request #82 from ppisar/prepare_arg_names



Correct argument names of XS preparse()





Compare: https://github.com/perl5-dbi/dbi/compare/d58bcc98c7f9...a0e17557590f




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About