summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-05-03 08:25:27 +0000
committerSteve Hay <SteveHay@planit.com>2006-05-03 08:25:27 +0000
commit0b0c55ab0a3e8da50e366c0d5292769452b6fc73 (patch)
tree63fc793f514bcaa46661122c2eb686dd5b5f1494 /embed.h
parent17565ddb77715b86d62f60ad9d694a05bd5babba (diff)
downloadperl-0b0c55ab0a3e8da50e366c0d5292769452b6fc73.tar.gz
Make Perl_unshare_hek visible to core extensions without being public
See the comments in: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00480.html (which were put into practice in changes #27800 and #27848) p4raw-link: @27800 on //depot/perl: 1242dfaee525d4d0ab20ac8ae62b3f0de03fa88e p4raw-id: //depot/perl@28073
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index bb8108f0cb..ed3f5b36b7 100644
--- a/embed.h
+++ b/embed.h
@@ -903,7 +903,9 @@
#define unpack_str Perl_unpack_str
#define unpackstring Perl_unpackstring
#define unsharepvn Perl_unsharepvn
+#if defined(PERL_CORE) || defined(PERL_EXT)
#define unshare_hek Perl_unshare_hek
+#endif
#ifdef PERL_MAD
#ifdef PERL_CORE
#define utilize Perl_utilize
@@ -3063,7 +3065,9 @@
#define unpack_str(a,b,c,d,e,f,g,h) Perl_unpack_str(aTHX_ a,b,c,d,e,f,g,h)
#define unpackstring(a,b,c,d,e) Perl_unpackstring(aTHX_ a,b,c,d,e)
#define unsharepvn(a,b,c) Perl_unsharepvn(aTHX_ a,b,c)
+#if defined(PERL_CORE) || defined(PERL_EXT)
#define unshare_hek(a) Perl_unshare_hek(aTHX_ a)
+#endif
#ifdef PERL_MAD
#ifdef PERL_CORE
#define utilize(a,b,c,d,e) Perl_utilize(aTHX_ a,b,c,d,e)