summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2019-01-31 14:35:52 +1100
committerTony Cook <tony@develop-help.com>2019-08-08 15:28:35 +1000
commitc07b34e4260456bf87b544335b4a7b05f2a856c6 (patch)
tree17f4cabccb9936efd202aff2564c3b84ee05f3b5 /intrpvar.h
parent20fbb8c297b88a2b4ad0fb679a190392299d875b (diff)
downloadperl-c07b34e4260456bf87b544335b4a7b05f2a856c6.tar.gz
(perl #132777) APIify and document PL_curstash
per leont: I can't think of any reason not to make PL_curstash API, it's both common, useful, simple, and highly unlikely to ever need change.
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h
index 0416d412ff..fdc610dc73 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -117,6 +117,13 @@ PERLVAR(I, dowarn, U8)
PERLVARI(I, utf8cache, I8, PERL___I) /* Is the utf8 caching code enabled? */
#undef PERL___I
+/*
+=for apidoc Amn|HV*|PL_curstash
+
+The stash for the package code will be compiled into.
+
+=cut
+*/
/* Stashes */
PERLVAR(I, defstash, HV *) /* main symbol table */