[Gambas-user] Declaring external C libraries

RICHARD WALKER richard.j.walker at ...247...
Fri Aug 3 20:02:44 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.

R




More information about the User mailing list