in reply to Re: P5NCI + void load_function-signature
in thread P5NCI + void load_function-signature

yes, sam, you are right. i tried both, and seems i forgot to paste the latest version of my test-script.
nonetheless, it still does not work :(
Don't understand NCI signature 'iv' at /usr/share/perl5/P5NCI/Library.pm line 40
  • Comment on Re^2: P5NCI + void load_function-signature

Replies are listed 'Best First'.
Re^3: P5NCI + void load_function-signature
by samtregar (Abbot) on Jun 22, 2006 at 15:47 UTC
    The docs for P5NCI::Library say:

    This function itself will throw an exception if you fail to provide both a function name and its signature. It will also throw an exception if it does not understand the signature. That might not be an error -- it doesn't understand a lot of valid signatures yet.

    Looks like you found one it doesn't "understand."

    -sam

      hm.... :(

      in the tests-directory there is a test that does test for 'vpi', so a pointer+integer, with return-value of void.
      maybe chromatic can give a little more insight...

      thx for your contributions, sam!