On Mon, 25 Jul 2005, felix winkelmann wrote:
> On 7/22/05, Daniel B. Faken <[EMAIL PROTECTED]> wrote:
> > Hello,
> > 
> >   I've been encountering problems using the FFI with functions that take a
> > (signed char *).  For example, with this short program:
> > -----------------------
> > (define-foreign-type GLbyte signed-char)
> > #>!
> > typedef signed char GLbyte;
> > int call_fn(GLbyte x, GLbyte *y);
> > <#
> > ------------------------
> 
> Does the C compiler fail with an error, or is this just a warning?

Just a warning (I should have been more clear).

And that is probably ignoreable, if annoying.  I'm not sure what 
would/could happen with (char)<->(unsigned char) conversions that are 
silently allowed, though.

cheers,
Daniel




_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to