Chromatic <[EMAIL PROTECTED]> wrote:

> No problem.  Fair warning, though: nci_test doesn't build by default on
> Linux PPC.  I had to build it manually then copy it into
> runtime/parrot/dynext/.

That's the current procedure, yes. I don't know, if all platforms
support dynamic loading - probably not. So we need some config setting
for this.

> After adding a signature for vpP to src/nci_call.txt and rebuilding,
> only test 5 fails.  That might be due to differences in the size of
> shorts on this platform as compared to i386; just a guess.  (The return
> value is 128, while the test expects -128).

Signed vs unsigned char probably. I've changed the test bit.

> Anyhow, I've attached a new test which shows of more or less my idea for
> what this should do.  It may be horribly wrong, but it's wrong in a way
> that has actual code, not just vague ideas.

Not very wrong, but ... Anyway the syntax is:

  Px["Rect"; 0; "x"] # rect[0].x  named access of "Rect"
  Px[  0   ; 2; "h"] # rect[2].h  idx

Constructions differs too.
Please have a look at the test.

#29200 applied.

> On the other hand, I'm really *not* a C programmer.

> -- c

Thanks,
leo

Reply via email to