diff options
author | Karl Williamson <khw@cpan.org> | 2020-08-29 10:55:47 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-01-03 08:40:53 -0700 |
commit | 7f02c1397bd1a1ff685776c0bde8d553793c031d (patch) | |
tree | d65c47adc5867b156db4e8db0ebd1d0874177a34 /cop.h | |
parent | 036189b0a003875df7bf09c7f7fd702267f549e5 (diff) | |
download | perl-7f02c1397bd1a1ff685776c0bde8d553793c031d.tar.gz |
Document various CopSTASHfoo functions
Diffstat (limited to 'cop.h')
-rw-r--r-- | cop.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 */ |