return NORMAL;
}
-#define tied_handle_method(a,b,c,d) \
+#define tied_handle_method0(a,b,c,d) \
S_tied_handle_method(aTHX_ a,b,c,d,G_SCALAR,0)
#define tied_handle_method1(a,b,c,d,e) \
S_tied_handle_method(aTHX_ a,b,c,d,G_SCALAR,1,e)
if (io) {
const MAGIC * const mg = SvTIED_mg((const SV *)io, PERL_MAGIC_tiedscalar);
if (mg) {
- return tied_handle_method("CLOSE", SP, io, mg);
+ return tied_handle_method0("CLOSE", SP, io, mg);
}
}
}
if (io
&& (mg = SvTIED_mg((const SV *)io, PERL_MAGIC_tiedscalar)))
{
- return tied_handle_method("FILENO", SP, io, mg);
+ return tied_handle_method0("FILENO", SP, io, mg);
}
if (!io || !(fp = IoIFP(io))) {
if (io) {
const MAGIC * const mg = SvTIED_mg((const SV *)io, PERL_MAGIC_tiedscalar);
if (mg) {
- return tied_handle_method("TELL", SP, io, mg);
+ return tied_handle_method0("TELL", SP, io, mg);
}
}
else if (!gv) {