Re: [Gambas-user] Extern declaration question

2012-08-20 Thread Ru Vuott
itto: > Da: wally > Oggetto: Re: [Gambas-user] Extern declaration question > A: "mailing list for gambas users" > Data: Lunedì 20 agosto 2012, 12:55 > On Monday 20 August 2012 11:45:04 Ru > Vuott wrote: > > > Public Extern serialPrintf(fd As Integer, messag

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread wally
On Monday 20 August 2012 11:45:04 Ru Vuott wrote: > > Public Extern serialPrintf(fd As Integer, message As String, > > ...) > > the above declaration witjout the "In ..." seems to work. > > > > wally > > If you have already upper declared : > > Library "name_of_library" > > > you don't need to

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread Ru Vuott
> > Public Extern serialPrintf(fd As Integer, message As String, > ...) > the above declaration witjout the "In ..." seems to work. > > wally > If you have already upper declared : Library "name_of_library" you don't need to add Extern serialPrintf(...) In "name_of_library" -

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread wally
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 ? > >>> > >>> >

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread Benoît Minisini
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

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread wally
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 ? > >>> > >>> >

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread Benoît Minisini
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 >>> void serialPrintf (int fd, char *message, ...) >>> >>> >>> P

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread wally
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 > > void serialPrintf (int fd, char *message, ...) > > > > > > Public Extern serialPrintf(fd As Inte

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread wally
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 > > void serialPrintf (int fd, char *message, ...) > > > > > > Public Extern serialPrintf(fd As Inte

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread Emil Lenngren
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 > Le 20/08/2012 11:05, wally a écrit : > > How should i declare this function of a shared libray in gam

Re: [Gambas-user] Extern declaration question

2012-08-20 Thread Benoît Minisini
Le 20/08/2012 11:05, wally a écrit : > How should i declare this function of a shared libray in gambas extern ? > > > #include > void serialPrintf (int fd, char *message, ...) > > > Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '??? > > wally > Public Extern serialPrintf(fd A

[Gambas-user] Extern declaration question

2012-08-20 Thread wally
How should i declare this function of a shared libray in gambas extern ? #include void serialPrintf (int fd, char *message, ...) Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '??? wally -- Live