The good news is that Parrot has a nice NCI, and as a Google Summer of Code Project a NCI compiler was written, ie a program that parses a C include file, and writes an NCI signature for the functions.
The bad news is that it's not (yet?) straight forward to use from Rakudo (the Perl 6 compiler on parrot). Maybe that could be the topic of another gsoc project...
Comment on Re: platform agnostic foreign function interface, necessary?, missing?