Re: 64 bit integers in Expat 2.0?
Graham Bennett <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Nov 29, 2005 at 09:00:46AM -0500, Karl Waclawek wrote: > > We are trying to decide whether we should change some API return values > to 64 bit integers to support file sizes > 2GB. Affected would be these > API members: > > XML_GetCurrentByteIndex() > XML_GetCurrentByteCount() > XML_GetCurrentLineNumber() > XML_GetCurrentColumnNumber() > > Obviously this requires applications to be recompiled. > > The question is, how "breaking" would that change be? > How many applications are actually using these members? > > Should this be delayed after the release of Expat 2.0? When you say change to 64-bit, do you mean explicitly 64-bit on all platforms? I would have thought it better to use something like size_t, which would be of the appropriate size on each platform. Graham -- Graham Bennett