diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2005-12-29 12:00:29 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2005-12-29 12:00:29 +0000 |
commit | f16dd614412ea67a8eb64bb09a88fccdbd9db6b6 (patch) | |
tree | a5b7bf6146f445a04a570b1e0302ff7d2c1f5fbb /pod/perlxs.pod | |
parent | 85ce96a160e902929b94338ada20cf46b265d595 (diff) | |
download | perl-f16dd614412ea67a8eb64bb09a88fccdbd9db6b6.tar.gz |
re-implement MY_CXT API more efficiently, and add explicit
interpeter arg variant
p4raw-id: //depot/perl@26523
Diffstat (limited to 'pod/perlxs.pod')
-rw-r--r-- | pod/perlxs.pod | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pod/perlxs.pod b/pod/perlxs.pod index b3ba08f56a..e6f1862e56 100644 --- a/pod/perlxs.pod +++ b/pod/perlxs.pod @@ -1926,7 +1926,6 @@ Below is an example module that makes use of the macros. CODE: MY_CXT_CLONE; - B<REFERENCE> =over 5 @@ -2013,8 +2012,19 @@ my_cxt_t structure. Calling C<MY_CXT_CLONE> (typically via the package's C<CLONE()> function), causes a byte-for-byte copy of the structure to be taken, and any future dMY_CXT will cause the copy to be accessed instead. +=item MY_CXT_INIT_INTERP(my_perl) + +=item dMY_CXT_INTERP(my_perl) + +These are versions of the macros which take an explicit interpreter as an +argument. + =back +Note that these macros will only work together within the I<same> source +file; that is, a dMY_CTX in one source file will access a different structure +than a dMY_CTX in another source file. + =head1 EXAMPLES File C<RPC.xs>: Interface to some ONC+ RPC bind library functions. |