On Oct 03, Brian Ingerson wrote:
> 
> Could you take a few minutes to outline these nits? That would be a big
> help.  Basically I want to know all of the different function signature
> forms that an XS person would expect Inline to bind to. 

I would suspect a user would want to bind to _any_ type.  I have to do
typedefs for all the types that are not recognized by default.  If it's
some enumerated type perhaps force them to have a typemap for it.

This makes creating wrappers around functions in _other_ C modules
problematic.

Here are the typedefs I'm using now:

typedef const char const_char;
typedef const void const_void;

Inline also does not explore any of the include files listed in the source.
I guess I could fix this by preprocessing my output and then putting it
after __DATA__ __C__ markers.  Otherwise I have to repeat all of the
prototypes for every function I want to use.

-Clint

Reply via email to