X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Moose.xs;h=874e9e074a0aea1dc99b71acaf5ba8f3dd93125f;hb=f9e3314843e0d42c9da7455b4587d4fb8dd4806b;hp=8fbfd53da8a8899d77fa8a8d711cf5490d0eb87e;hpb=8fa582b1a83065191c20f8bca2d53c491fb6a314;p=gitmo%2FMoose.git diff --git a/Moose.xs b/Moose.xs index 8fbfd53..874e9e0 100644 --- a/Moose.xs +++ b/Moose.xs @@ -3,6 +3,18 @@ #include "XSUB.h" #include "ppport.h" +#ifndef MGf_COPY +# define MGf_COPY 0 +#endif + +#ifndef MGf_DUP +# define MGf_DUP 0 +#endif + +#ifndef MGf_LOCAL +# define MGf_LOCAL 0 +#endif + STATIC int unset_export_flag (pTHX_ SV *sv, MAGIC *mg); STATIC MGVTBL export_flag_vtbl = { @@ -11,9 +23,15 @@ STATIC MGVTBL export_flag_vtbl = { NULL, /* len */ NULL, /* clear */ NULL, /* free */ +#if MGf_COPY NULL, /* copy */ +#endif +#if MGf_DUP NULL, /* dup */ +#endif +#if MGf_LOCAL NULL, /* local */ +#endif }; STATIC bool