I guess I just miss that part. I did see it from the C-Cookbook!!

~Mike L.

-----Original Message-----
From: Sam Tregar [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, March 06, 2002 10:57 AM
To: Mike Liang (Volt)
Cc: [EMAIL PROTECTED]
Subject: Re: Selectively export C function into Perl's namespace


On Wed, 6 Mar 2002, Mike Liang (Volt) wrote:

>    Just a question or maybe it can be a feature for the next Inline::C

> module. Currently every function you wrote in a C file will be 
> exported to Perl after you compile your code. Is it or can it possible

> to make a function invisible from Perl. I've checked the final .c file

> and I can see at the end of it, all the functions exported by newXS 
> ... My points some of the C function is not necessary to be called 
> from C.

Have you read Inline::C-Cookbook?  There's a recipe in there for you.
Sneak peek:

  static int dont_wrap_me(char *d00d) {
    // ...
  }

-sam


Reply via email to