X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=cv.h;h=799f8d4ee1cbd380ae1c314cee9ecd0f5084adcf;hb=3f7c398ef4badd9c6ec5b40ea29141484c160f63;hp=1c8b93d94320593fabe41bf7e731ec6f94126b8d;hpb=6909cc55000f14d567d0ce4e72f02e1e4307904f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/cv.h b/cv.h index 1c8b93d..799f8d4 100644 --- a/cv.h +++ b/cv.h @@ -1,7 +1,7 @@ /* cv.h * * Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999, - * 2000, 2001, 2002, 2003, by Larry Wall and others + * 2000, 2001, 2002, 2003, 2004, 2005, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -12,11 +12,14 @@ * in sv.h */ struct xpvcv { - char * xpv_pv; /* pointer to malloced string (for prototype) */ + NV xnv_nv; /* numeric value, if any */ STRLEN xpv_cur; /* length of xp_pv as a C string */ STRLEN xpv_len; /* allocated size */ - IV xof_off; /* integer value */ - NV xnv_nv; /* numeric value, if any */ + union { + IV xivu_iv; /* integer value or pv offset */ + UV xivu_uv; + void * xivu_p1; + } xiv_u; MAGIC* xmg_magic; /* magic for scalar array */ HV* xmg_stash; /* class package */ @@ -205,3 +208,13 @@ should print 123: =cut */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */