summaryrefslogtreecommitdiff
path: root/mg.h
diff options
context:
space:
mode:
Diffstat (limited to 'mg.h')
-rw-r--r--mg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mg.h b/mg.h
index 0048803440..566ced70fc 100644
--- 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