On 08/08/01 16:06 +0100, Tim Kimber wrote:
> void my_Foo(char *InputName, int *param1, int* param2, int* param3) {
> 
> Foo(InputName,param1,param2,param3);
> }

That is because 'int *' is not one of the known types. You probably
meant 'int'. Use this invocation to get a report on which functions
Inline bound to:

    perl -MInline=info script.pl

FYI, Inline only understands the types that are defined in your Perl
installation's 'typemap' file. This is the code that translates Perl to
C and back. You can specify your own if you need to get fancy.

In an upcoming release of Inline there will be logic to detect these
common errors. Maybe the error message will point to this email in the
mailing list archive ;)

Cheers, Brian

PS. I noticed you are in the UK. I'll be in London this weekend. Probably
meeting with a bunch of Perl people for beer Sunday evening. Let me know if
you're interested.

Reply via email to