X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hv.h;h=468c072bf05df073eed747fcd0a4ccd305b5225c;hb=842c41230043ce99d4bf7b2c79aed85ce2908e89;hp=db79b46670dfd94b36a403da60bb2f01731de066;hpb=de0a224a057997a65d38856f1981702fca5d7c18;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hv.h b/hv.h index db79b46..468c072 100644 --- a/hv.h +++ b/hv.h @@ -85,9 +85,8 @@ struct xpvhv_aux { struct xpvhv { HV* xmg_stash; /* class package */ union _xmgu xmg_u; - STRLEN xhv_fill; /* how full xhv_array currently is */ + STRLEN xhv_keys; /* total keys, including placeholders */ STRLEN xhv_max; /* subscript of last element of xhv_array */ - STRLEN xhv_keys; /* total keys, including placeholders */ }; /* hash a key */ @@ -235,7 +234,7 @@ C. # define Nullhv Null(HV*) #endif #define HvARRAY(hv) ((hv)->sv_u.svu_hash) -#define HvFILL(hv) ((XPVHV*) SvANY(hv))->xhv_fill +#define HvFILL(hv) Perl_hv_fill(aTHX_ (const HV *)(hv)) #define HvMAX(hv) ((XPVHV*) SvANY(hv))->xhv_max /* This quite intentionally does no flag checking first. That's your responsibility. */