summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-08-29 10:55:47 -0600
committerKarl Williamson <khw@cpan.org>2021-01-03 08:40:53 -0700
commit7f02c1397bd1a1ff685776c0bde8d553793c031d (patch)
treed65c47adc5867b156db4e8db0ebd1d0874177a34 /cop.h
parent036189b0a003875df7bf09c7f7fd702267f549e5 (diff)
downloadperl-7f02c1397bd1a1ff685776c0bde8d553793c031d.tar.gz
Document various CopSTASHfoo functions
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/cop.h b/cop.h
index 96b6739b19..a1f5b921bb 100644
--- a/cop.h
+++ b/cop.h
@@ -446,6 +446,23 @@ Returns the GV associated with the C<COP> C<c>
Available only on unthreaded perls. Makes C<pv> the name of the file
associated with the C<COP> C<c>
+=for apidoc Am|HV *|CopSTASH|const COP * c
+Returns the stash associated with C<c>.
+
+=for apidoc Am|bool|CopSTASH_eq|const COP * c|const HV * hv
+Returns a boolean as to whether or not C<hv> is the stash associated with C<c>.
+
+=for apidoc Am|bool|CopSTASH_set|COP * c|HV * hv
+Set the stash associated with C<c> to C<hv>.
+
+=for apidoc Am|char *|CopSTASHPV|const COP * c
+Returns the package name of the stash associated with C<c>, or C<NULL> if no
+associated stash
+
+=for apidoc Am|void|CopSTASHPV_set|COP * c|const char * pv
+Set the package name of the stash associated with C<c>, to the NUL-terminated C
+string C<p>, creating the package if necessary.
+
=cut
*/