A89: Re: int vs. short int


[Prev][Next][Index][Thread]

A89: Re: int vs. short int




Hi!

| Isn't in TI-89 land int and short are absolutely the same?

Usually, yes.  However, in TIGCC v0.9 I introduced an '-mlong' switch that
makes 'int' equal to 'long int'.  This is only useful for porting code from
32-bit systems, but won't lose compatiblitly if it is not used.  In the
library, 'short' has to be used, since TIOS functions expect 16-bit values
in those places.

Bye,
Sebastian




References: