summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-08 18:04:45 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-08 18:04:45 +0000
commite4783991709775389a3fc70c841522b0165cd076 (patch)
tree897702fb36c293fd0163fc45c65a5512d02ef514 /op.h
parentf8bab1e9a80ccb40021ba3a528d7bf39dc257b22 (diff)
downloadperl-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 'op.h')
-rw-r--r--op.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/op.h b/op.h
index da03aa46db..2cc39d20bb 100644
--- a/op.h
+++ b/op.h
@@ -418,3 +418,8 @@ struct loop {
# define OpREFCNT_inc(o) (o)
# define OpREFCNT_dec(o) 0
#endif
+
+/* flags used by Perl_load_module() */
+#define PERL_LOADMOD_DENY 0x1
+#define PERL_LOADMOD_NOIMPORT 0x2
+#define PERL_LOADMOD_IMPORT_OPS 0x4