diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-08 18:04:45 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-08 18:04:45 +0000 |
commit | e4783991709775389a3fc70c841522b0165cd076 (patch) | |
tree | 897702fb36c293fd0163fc45c65a5512d02ef514 /proto.h | |
parent | f8bab1e9a80ccb40021ba3a528d7bf39dc257b22 (diff) | |
download | perl-e4783991709775389a3fc70c841522b0165cd076.tar.gz |
abstract code for C<use Foo 1.23 @ary;> into a Perl_load_module()
API function
p4raw-id: //depot/perl@5619
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -129,6 +129,11 @@ PERL_CALLCONV char* Perl_form_nocontext(const char* pat, ...) __attribute__((format(printf,1,2))) #endif ; +PERL_CALLCONV void Perl_load_module_nocontext(U32 flags, SV* name, SV* ver, ...) +#ifdef CHECK_FORMAT + __attribute__((format(printf,3,4))) +#endif +; PERL_CALLCONV SV* Perl_mess_nocontext(const char* pat, ...) #ifdef CHECK_FORMAT __attribute__((format(printf,1,2))) @@ -383,6 +388,12 @@ PERL_CALLCONV void Perl_lex_start(pTHX_ SV* line); PERL_CALLCONV OP* Perl_linklist(pTHX_ OP* o); PERL_CALLCONV OP* Perl_list(pTHX_ OP* o); PERL_CALLCONV OP* Perl_listkids(pTHX_ OP* o); +PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...) +#ifdef CHECK_FORMAT + __attribute__((format(printf,pTHX_3,pTHX_4))) +#endif +; +PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args); PERL_CALLCONV OP* Perl_localize(pTHX_ OP* arg, I32 lexical); PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV* sv); PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg); |