This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: libffi on HP-UX


On Tue, 2005-02-15 at 14:37 -0800, Boehm, Hans wrote:
> My impression is that most of the client code presumes that char,
> short, and int are returned as int, and everything else is returned
> using the actual data size.  Effectively, the C "integral promotions"
> are applied to the return type.  Is that the intended convention?

Yes, that's right, although in hindsight it was probably a mistake.

> If that's unclear, can we make it the intended convention?

If that's what will work best for HP-UX and doesn't require changes for
other ports then I'm ok with that.

AG



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]