summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2002-08-15 01:10:35 +0100
committerhv <hv@crypt.org>2002-08-17 02:07:24 +0000
commit765f542df20317f47bb284c276cd0abfb50dcfd6 (patch)
treebe92963942496ba900bdfb32c5b522ba355aafb0 /proto.h
parent6f12eb6d2a1dfaf441504d869b27d2e40ef4966a (diff)
downloadperl-765f542df20317f47bb284c276cd0abfb50dcfd6.tar.gz
Copy On Write
Message-id: <20020815001035.A69079@plum.flirble.org> specify "-Accflags='-DPERL_COPY_ON_WRITE'" to use p4raw-id: //depot/perl@17728
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index ba900c9f75..c9ac69695e 100644
--- a/proto.h
+++ b/proto.h
@@ -996,6 +996,10 @@ PERL_CALLCONV void Perl_sys_intern_init(pTHX);
PERL_CALLCONV char * Perl_custom_op_name(pTHX_ OP* op);
PERL_CALLCONV char * Perl_custom_op_desc(pTHX_ OP* op);
+#if defined(PERL_COPY_ON_WRITE)
+PERL_CALLCONV int Perl_sv_release_IVX(pTHX_ SV *sv);
+#endif
+
PERL_CALLCONV void Perl_sv_nosharing(pTHX_ SV *);
PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *);
PERL_CALLCONV void Perl_sv_nounlocking(pTHX_ SV *);
@@ -1269,6 +1273,9 @@ STATIC I32 S_expect_number(pTHX_ char** pattern);
# if defined(USE_ITHREADS)
STATIC SV* S_gv_share(pTHX_ SV *sv, CLONE_PARAMS *param);
# endif
+#if defined(PERL_COPY_ON_WRITE)
+STATIC void S_sv_release_COW(pTHX_ SV *sv, char *pvx, STRLEN cur, STRLEN len, U32 hash, SV *after);
+#endif
#endif
#if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)