diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-11 00:51:48 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-11 00:51:48 +0000 |
commit | 9326c1720b1956388dc1e07d555a7449bd488fc9 (patch) | |
tree | 667044bfd9e0156f6aa4d1d83f6a14bf7d9a2abc /perlapi.c | |
parent | 85ddcde952b37a5319c8d00206e6f646bfb1faca (diff) | |
parent | 41fda654fa6cc02628fe4f647a885518d2014b4e (diff) | |
download | perl-9326c1720b1956388dc1e07d555a7449bd488fc9.tar.gz |
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@5639
Diffstat (limited to 'perlapi.c')
-rwxr-xr-x | perlapi.c | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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) |