X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=sv.h;h=74a47d0a39ae4e1a2678212b31b1f1264b9c8db0;hb=dc507217b3331807446df6e7f16977ee2fdc418e;hp=3727da14edc60c75aa56c3ca282b9b0fb2c99c72;hpb=645c22eff49f10f8bfaa5864a990561e60fea631;p=p5sagit%2Fp5-mst-13.2.git diff --git a/sv.h b/sv.h index 3727da1..74a47d0 100644 --- a/sv.h +++ b/sv.h @@ -61,7 +61,7 @@ typedef enum { /* Using C's structural equivalence to help emulate C++ inheritance here... */ -struct STRUCT_SV { +struct STRUCT_SV { /* struct sv { */ void* sv_any; /* pointer to something */ U32 sv_refcnt; /* how many references to us */ U32 sv_flags; /* what we are */ @@ -1215,4 +1215,9 @@ Returns a pointer to the character buffer. #define CLONEf_COPY_STACKS 1 #define CLONEf_KEEP_PTR_TABLE 2 +#define CLONEf_CLONE_HOST 4 +typedef struct { + AV* stashes; + UV flags; +} clone_params;