Le 20/08/2012 12:22, wally a écrit : > On Monday 20 August 2012 12:12:25 Benoît Minisini wrote: >> Le 20/08/2012 11:52, wally a écrit : >>> On Monday 20 August 2012 11:16:14 Benoît Minisini wrote: >>>> 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 >>>> ... >>> >>> i tried this line and get this error : >>> "Library name must be a string" >>> >>> this error occurs only for this line, other extern function declaration >>> does not rise this error. >>> >>> Library "/usr/local/lib/libwiringPi" >> >> Guess what? I can't read minds and see the code around the one line you >> sent. >> >> The "..." means that you have to type what you have to type there. >> (nothing in your case, as you used the 'Library' line). >> >> Regards, > > >> The "..." means that you have to type what you have to type there. > I do not understand what you want to explain. > > wally >
"..." means "etcaetera", "and so on". I didn't know if you had to type "In <library>" or not, as I didn't see your code! -- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
