PUTBACK;
-#ifdef PERL_IS_5_6
count = call_method("add", G_SCALAR);
-#else
- count = perl_call_method("add", G_SCALAR);
-#endif
SPAGAIN;
XPUSHs(sv_2mortal(newSVpv( op->orb_cred.bv_val , op->orb_cred.bv_len)));
PUTBACK;
-#ifdef PERL_IS_5_6
count = call_method("bind", G_SCALAR);
-#else
- count = perl_call_method("bind", G_SCALAR);
-#endif
SPAGAIN;
XPUSHs(sv_2mortal(newSVpv( avastr , 0)));
PUTBACK;
-#ifdef PERL_IS_5_6
count = call_method("compare", G_SCALAR);
-#else
- count = perl_call_method("compare", G_SCALAR);
-#endif
SPAGAIN;
} else {
switch( c->type ) {
case PERL_MODULE:
-#ifdef PERL_IS_5_6
snprintf( eval_str, EVAL_BUF_SIZE, "use %s;", c->argv[1] );
eval_pv( eval_str, 0 );
-#else
- snprintf( eval_str, EVAL_BUF_SIZE, "%s.pm", c->argv[1] );
- perl_require_pv( eval_str );
-#endif /* PERL_IS_5_6 */
if (SvTRUE(ERRSV)) {
STRLEN len;
PUTBACK;
-#ifdef PERL_IS_5_6
count = call_method("delete", G_SCALAR);
-#else
- count = perl_call_method("delete", G_SCALAR);
-#endif
SPAGAIN;
PUTBACK;
-#ifdef PERL_IS_5_6
count = call_method("init", G_SCALAR);
-#else
- count = perl_call_method("init", G_SCALAR);
-#endif
SPAGAIN;
PUTBACK;
-#ifdef PERL_IS_5_6
count = call_method("modify", G_SCALAR);
-#else
- count = perl_call_method("modify", G_SCALAR);
-#endif
SPAGAIN;
}
PUTBACK ;
-#ifdef PERL_IS_5_6
count = call_method("modrdn", G_SCALAR);
-#else
- count = perl_call_method("modrdn", G_SCALAR);
-#endif
SPAGAIN ;
}
PUTBACK;
-#ifdef PERL_IS_5_6
count = call_method("search", G_ARRAY );
-#else
- count = perl_call_method("search", G_ARRAY );
-#endif
SPAGAIN;