[Gambas-user] Declaring external C libraries

Christer Johansson lists at ...2828...
Sat Aug 4 12:27:52 CEST 2012


> Pardon me for butting in, but I wonder if you have tried a Gambas
> short (16 bits).
> 
> The last time I can recall seeing a byte or character passed as an
> 8bit value I was using a Z80! I have a vague recollection that the
> Lattice C compiler for the MC68008 used the bottom word (16 bits) in a
> register for a char and I may be re-inventing history, but something
> tells me the MC68020 needed a long word (32 bits)!
> 
> If this is a matter of the wrong amount of storage being allocated and
> written to, I would certainly try both short and long.

Richard, your input is appreciated, I will test with short as well as long.

/CJ






More information about the User mailing list