summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-07-22 16:59:03 -0600
committerKarl Williamson <khw@cpan.org>2020-12-06 08:58:08 -0700
commit269cb1d351d144f06b2b724d50e35e7b7e6bc4b9 (patch)
treedd4d5a8198940699d3c67f69407b6029778b9f5a /perl.h
parent0522a9e73a5436836353184378cf48ac54774c17 (diff)
downloadperl-269cb1d351d144f06b2b724d50e35e7b7e6bc4b9.tar.gz
Always define dMY_CXT_SV, and to dNOOP
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index 047b4eef49..78f7548f17 100644
--- a/perl.h
+++ b/perl.h
@@ -643,6 +643,10 @@ code.
=for apidoc AmnU||dVAR
This is now a synonym for dNOOP: declare nothing
+=for apidoc_section $XS
+=for apidoc Amns||dMY_CXT_SV
+Now a placeholder that declares nothing
+
=cut
*/
@@ -653,6 +657,7 @@ This is now a synonym for dNOOP: declare nothing
/* these are only defined for compatibility; should not be used internally.
* */
+# define dMY_CXT_SV dNOOP
# ifndef pTHXo
# define pTHXo pTHX
# define pTHXo_ pTHX_
@@ -7214,9 +7219,7 @@ C<strtoul>.
# define _aMY_CXT ,aMY_CXT
#else /* PERL_IMPLICIT_CONTEXT */
-
# define START_MY_CXT static my_cxt_t my_cxt;
-# define dMY_CXT_SV dNOOP
# define dMY_CXT dNOOP
# define dMY_CXT_INTERP(my_perl) dNOOP
# define MY_CXT_INIT NOOP