diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-08-17 15:01:09 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-01 13:08:56 +0100 |
commit | f595e889b91a674eb94db7ca4d832da54f5194cd (patch) | |
tree | 273b4a7cc465477e428d0c628a19a61301baaae0 /docs | |
parent | 2910531c99e80bede06d2f1460459e8f6ce79961 (diff) | |
download | mupdf-f595e889b91a674eb94db7ca4d832da54f5194cd.tar.xz |
Use int64_t for public file API offsets.
Don't mess with conditional compilation with LARGEFILE -- always expose
64-bit file offsets in our public API.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/coding-style.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/coding-style.html b/docs/coding-style.html index d9a1602d..66eefd39 100644 --- a/docs/coding-style.html +++ b/docs/coding-style.html @@ -83,9 +83,7 @@ In general: <li> array sizes, string lengths, and allocations are measured using size_t. size_t is 32bit in 32bit builds, and 64bit on all 64bit builds. <li> buffers of data use unsigned chars (or uint8_t). -<li> Offsets within files/streams are represented using fz_off_t. - fz_off_t is 64bits in 64bit builds, or in 32bit builds with FZ_LARGEFILE defined. - Otherwise it is a native int (so 32bit in 32bit builds). +<li> Offsets within files/streams are represented using int64_t. </ul> <p> |