Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

Tim Bunce

unread,
Jul 31, 2019, 12:30:02 AM7/31/19
to dbi...@perl.org
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ř <ppi...@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....@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
0 new messages