On Fri, 15 Apr 2005, Tim wrote: > > #define foobar rows > > void > > foobar(sth) > > SV* sth > > CODE: > > ... > > > > The above should make subpp happy and should get rid of the dup function > > warning. > > I suspect that won't work, sadly, as xsubpp uses the name to generate > some C code. (But feel free to try it.)
Yup, you are right: #define foobar rows XS(XS_DBD__mysql__st_foobar) { dXSARGS; if (items != 1) Perl_croak(aTHX_ "Usage: DBD::mysql::st::foobar(sth)"); { Grumble grumble :) Well, there is always " | grep -v ...", BTA, more time has probably been spent on this "warning" than it deserves. Rudy