Re: Re: Poniedate #43
[email protected] (Benjamin K Stuhl)
| Newsgroups | perl.ponie.dev |
|---|---|
| Message-ID | <24271609.1078154879494.JavaMail.webber@uportal0> |
-----Original Message----- > On 1 Mar 2004, at 15:06, Dave Mitchell wrote: > > I'm probably teaching my grandmopther to suck eggs here, but... > > > > You do know that a a pad consists of an array-of-arrays, rather than > > the > > usual array-of-refs-to-arrays? And that the outer array isn't AvREAL, > > and > > so doesn't do ref-couning? > > I know, and it shouldn't really matter since I haven't changed the > code, it is still using all the macros to get the normal pointers > except that it happens through an indirection. > > So AvARRAY calls Perl_macro_AvARRAY that does a > Parrot_PMC_get_pointer and then return &(xav->xav_array) for example. > So it shouldn't be changing anything. &(xav->xav_array) ? Shouldn't that just be ((SV**)(xav->xav_array)) to match the standard definition of AvARRAY? Typo or is there something more subtle going on? -- BKS