summaryrefslogtreecommitdiff
path: root/app/lzo/doc/LZOAPI.TXT
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-08-02 10:52:28 +0200
committerParménides GV <parmegv@sdf.org>2014-08-02 10:52:28 +0200
commit4aedacdf92ab2fc08a1e39618761bc1eb96427d6 (patch)
treef000311e97598ab3fc42e2bea23e6cb342ad166c /app/lzo/doc/LZOAPI.TXT
parentb28eeb08e8ec3baafdd9388cc5b70c6c84db9cf1 (diff)
parent0393ba6656ce6cf679a2c4663275b3ed0f1a34b9 (diff)
Merge branch 'bug/There-are-two-different-notifications-#5794' into develop
Diffstat (limited to 'app/lzo/doc/LZOAPI.TXT')
-rw-r--r--app/lzo/doc/LZOAPI.TXT28
1 files changed, 2 insertions, 26 deletions
diff --git a/app/lzo/doc/LZOAPI.TXT b/app/lzo/doc/LZOAPI.TXT
index 5ae73532..547b0d70 100644
--- a/app/lzo/doc/LZOAPI.TXT
+++ b/app/lzo/doc/LZOAPI.TXT
@@ -75,17 +75,7 @@ This section briefly describes the headers.
2.1 The memory model
--------------------
-The documentation indicates that LZO requires 32-bit integers. It's
-not the integer size that really matters, though, but the memory
-model. If your memory model allows to access pointers at 32-bit
-offsets, then there is no problem at all - LZO works fine on my
-old Atari ST, which has 16 bit integers and a flat 32-bit memory model.
-Using 'huge' 32-bit pointers under 16-bit DOS is a workaround for this.
-
-While LZO also works with a strict 16-bit memory model, I don't officially
-support this because this limits the maximum block size to 64 KiB - and this
-makes the library incompatible with other platforms, i.e. you cannot
-decompress larger blocks compressed on those platforms.
+LZO requires a flat 32-bit or 64-bit memory model.
2.2 Public integral types
@@ -93,26 +83,16 @@ decompress larger blocks compressed on those platforms.
lzo_uint
- used as size_t, must be 32 bits or more for compatibility reasons
-
-lzo_uint32
-
- *must* be 32 bits or more
+ must match size_t
lzo_bool
can store the values 0 ("false") and 1 ("true")
-lzo_byte
-
- unsigned char (memory model specific)
-
2.3 Public pointer types
------------------------
-All pointer types are memory model specific.
-
lzo_voidp
pointer to void
@@ -121,10 +101,6 @@ lzo_bytep
pointer to unsigned char
-lzo_bytepp
-
- array of pointers to unsigned char
-
2.4 Public function types
-------------------------