3 * Copyright (c) 1991-1994, Larry Wall
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
11 char * xpv_pv; /* pointer to malloced string */
12 STRLEN xpv_cur; /* length of xp_pv as a C string */
13 STRLEN xpv_len; /* allocated size */
14 IV xof_off; /* integer value */
15 double xnv_nv; /* numeric value, if any */
16 MAGIC* xmg_magic; /* magic for scalar array */
17 HV* xmg_stash; /* class package */
22 void (*xcv_xsub) _((CV*));
26 long xcv_depth; /* >= 2 indicates recursive call */
32 #define Nullcv Null(CV*)
33 #define CvSTASH(sv) ((XPVCV*)SvANY(sv))->xcv_stash
34 #define CvSTART(sv) ((XPVCV*)SvANY(sv))->xcv_start
35 #define CvROOT(sv) ((XPVCV*)SvANY(sv))->xcv_root
36 #define CvXSUB(sv) ((XPVCV*)SvANY(sv))->xcv_xsub
37 #define CvXSUBANY(sv) ((XPVCV*)SvANY(sv))->xcv_xsubany
38 #define CvGV(sv) ((XPVCV*)SvANY(sv))->xcv_gv
39 #define CvFILEGV(sv) ((XPVCV*)SvANY(sv))->xcv_filegv
40 #define CvDEPTH(sv) ((XPVCV*)SvANY(sv))->xcv_depth
41 #define CvPADLIST(sv) ((XPVCV*)SvANY(sv))->xcv_padlist
42 #define CvOUTSIDE(sv) ((XPVCV*)SvANY(sv))->xcv_outside
43 #define CvOLDSTYLE(sv) ((XPVCV*)SvANY(sv))->xcv_oldstyle