I hope that the real signature is
void serialPrintf (int fd, *const* char *message, ...)
because extern functions are not allowed to manipulate gambas strings.

/Emil

2012/8/20 Benoît Minisini <gam...@users.sourceforge.net>

> Le 20/08/2012 11:05, wally a écrit :
> > How should i declare this function of a shared libray in gambas extern ?
> >
> >
> > #include <stdarg.h>
> > void serialPrintf (int fd, char *message, ...)
> >
> >
> > Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '???
> >
> > wally
> >
>
> Public Extern serialPrintf(fd As Integer, message As String, ...) In ...
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to