This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Scan for tm_zone (and tm_gmtoff, while we are at it).
[perl5.git] / mg.h
diff --git a/mg.h b/mg.h
index 26a0be6..e99b52c 100644 (file)
--- a/mg.h
+++ b/mg.h
@@ -16,6 +16,9 @@ struct mgvtbl {
     U32                (CPERLscope(*svt_len))  (pTHX_ SV *sv, MAGIC* mg);
     int                (CPERLscope(*svt_clear))(pTHX_ SV *sv, MAGIC* mg);
     int                (CPERLscope(*svt_free)) (pTHX_ SV *sv, MAGIC* mg);
+    int                (CPERLscope(*svt_copy)) (pTHX_ SV *sv, MAGIC* mg,
+                                       SV *nsv, const char *name, int namlen);
+    int                (CPERLscope(*svt_dup))  (pTHX_ MAGIC *mg, CLONE_PARAMS *param);
 };
 #endif
 
@@ -33,6 +36,8 @@ struct magic {
 #define MGf_TAINTEDDIR 1
 #define MGf_REFCOUNTED 2
 #define MGf_GSKIP      4
+#define MGf_COPY       8
+#define MGf_DUP        16
 
 #define MGf_MINMATCH   1