summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-11 00:51:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-11 00:51:48 +0000
commit9326c1720b1956388dc1e07d555a7449bd488fc9 (patch)
tree667044bfd9e0156f6aa4d1d83f6a14bf7d9a2abc /perlapi.c
parent85ddcde952b37a5319c8d00206e6f646bfb1faca (diff)
parent41fda654fa6cc02628fe4f647a885518d2014b4e (diff)
downloadperl-9326c1720b1956388dc1e07d555a7449bd488fc9.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@5639
Diffstat (limited to 'perlapi.c')
-rwxr-xr-xperlapi.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/perlapi.c b/perlapi.c
index 1d619ef81e..cfb4dc8b84 100755
--- a/perlapi.c
+++ b/perlapi.c
@@ -371,6 +371,17 @@ Perl_form_nocontext(const char* pat, ...)
}
+#undef Perl_load_module_nocontext
+void
+Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...)
+{
+ dTHXo;
+ va_list args;
+ va_start(args, ver);
+ ((CPerlObj*)pPerl)->Perl_vload_module(flags, name, ver, &args);
+ va_end(args);
+}
+
#undef Perl_mess_nocontext
SV*
Perl_mess_nocontext(const char* pat, ...)
@@ -1389,6 +1400,23 @@ Perl_leave_scope(pTHXo_ I32 base)
((CPerlObj*)pPerl)->Perl_leave_scope(base);
}
+#undef Perl_load_module
+void
+Perl_load_module(pTHXo_ U32 flags, SV* name, SV* ver, ...)
+{
+ va_list args;
+ va_start(args, ver);
+ ((CPerlObj*)pPerl)->Perl_vload_module(flags, name, ver, &args);
+ va_end(args);
+}
+
+#undef Perl_vload_module
+void
+Perl_vload_module(pTHXo_ U32 flags, SV* name, SV* ver, va_list* args)
+{
+ ((CPerlObj*)pPerl)->Perl_vload_module(flags, name, ver, args);
+}
+
#undef Perl_looks_like_number
I32
Perl_looks_like_number(pTHXo_ SV* sv)