[Gambas-user] external functions and struct
Benoît Minisini
g4mba5 at gmail.com
Thu Jun 14 10:55:10 CEST 2018
Le 14/06/2018 à 10:49, Demosthenes Koptsis a écrit :
> i get an error with the following any help?
>
> Public Struct Mallinfo
> arena As Integer
> ordblks As Integer
> smblks As Integer
> hblks As Integer
> hblkhd As Integer
> usmblks As Integer
> fsmblks As Integer
> uordblks As Integer
> fordblks As Integer
> keepcost As Integer
> End Struct
>
> 'struct mallinfo mallinfo (void)
> Public Extern mallinfo() As Struct Mallinfo
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
Have you read http://gambaswiki.org/wiki/doc/extern ?
Do you know C ?
--
Benoît Minisini
More information about the User
mailing list