← Back to team overview

coapp-developers team mailing list archive

Re: Engine APIs required by Bootstrap

 

arg. 

This is what I get for not drinking coffee in the morning... that, and I've been spending too much my time in c#, where long is 64 bits.

Most of the APIs do use (a variant of) long all over the place, which is indeed 32 bits.

I was thinking of things like SetFilePointerEx which takes a LARGE_INTEGER (64 bit for offsets)

knowing that 64bits is plenty enough for file sizes, I think we should standardize on __int64 where we can.



G
________________________________________
From: Olaf van der Spek [olafvdspek@xxxxxxxxx]
Sent: Wednesday, September 01, 2010 9:34 AM
To: Garrett Serack
Cc: Philip Allison; coapp-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Coapp-developers] Engine APIs required by Bootstrap

On Wed, Sep 1, 2010 at 6:29 PM, Garrett Serack <garretts@xxxxxxxxxxxxx> wrote:
> Well, Windows APIs use LONG which is a typedef to long .. (clever, eh?)
> The CRT uses long for things like fseek.
> off_t is another typedef to long
> I suppose I should have said long instead of __int64 -- but I have a soft
> spot for being precise--in spite of the plethora of aliases to long.

You mean long long? Long doesn't cut it.

Olaf




Follow ups

References