From ba16b2512013604b82d771b8eb54c9adae239b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 25 Jul 2019 15:55:27 +0200 Subject: [PATCH] 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. --- DBI.xs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DBI.xs b/DBI.xs index b6a4e1a0..d49ebdfd 100644 --- a/DBI.xs +++ b/DBI.xs @@ -5055,11 +5055,11 @@ connected(...) SV * -preparse(dbh, statement, ps_accept, ps_return, foo=Nullch) +preparse(dbh, statement, ps_return, ps_accept, foo=Nullch) SV * dbh char * statement - IV ps_accept IV ps_return + IV ps_accept void *foo