On Nov 10, 2007, at 7:42 AM, James Keenan via RT wrote:
On Fri Nov 09 23:31:56 2007, [EMAIL PROTECTED] wrote:
It in no way refers to architecture actually. It refers to the
calling
convention on an architecture(dependent upon implementation). The x86
method is by pushing arguments onto the stack, and the ppc method is
in
registers. On amd64, parrot reports ppc, which is essentially
correct.
Calling it x86 and ppc is probably just because those are the two
dominant architectures. They could be labeled differently.
Thanks, Josh, I'd like to work this explanation into the module's POD.
Is there some place where this distinction is "officially" explained?
(Wikipedia turned up nothing for 'va_ptr'; Google mostly turned up
references to this very package.)
Reading http://en.wikipedia.org/wiki/Stdarg.h may help a little. But
it still doesn't get into the low level implementation. To really get
into the details, you'd have to find the ABI for the architecture(OS
and processor, since the OS has a fair bit of say in it). Let's just
say it's probably one of those really terse things that gets written
once and forgotten about because it's been written.